I needed to parse some args
const args = require('@aliem/arg');
console.dir(args);
node test.js -a A -b B -c -d D
argv: { '-a': 'A', '-b': 'B', '-c': true, '-d': 'D' }
License
WTFPL
const args = require('@aliem/arg');
console.dir(args);
node test.js -a A -b B -c -d D
argv: { '-a': 'A', '-b': 'B', '-c': true, '-d': 'D' }
WTFPL
npm i @aliem/arg
1
1.0.0
WTFPL