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