Small changes
This commit is contained in:
parent
b346ad34b4
commit
c2682a0c22
4 changed files with 57 additions and 46 deletions
11
bin/convertbits
Executable file
11
bin/convertbits
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import convertBytesToHumanReadable from 'human-readable-bytes';
|
||||
|
||||
|
||||
|
||||
process.args.forEach( (val, index) => {
|
||||
if( index == process.args.length - 1 ){
|
||||
console.log( val );
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue