Small changes
This commit is contained in:
parent
f017ca051d
commit
c5cfdaa69e
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