Small changes

This commit is contained in:
Jonathan Hodgson 2019-05-17 12:46:57 +01:00
parent f017ca051d
commit c5cfdaa69e
4 changed files with 57 additions and 46 deletions

11
bin/convertbits Executable file
View 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 );
}
});