terminal-parser
v0.1.0
Published
terminal utility that parses terminal args
Downloads
5
Readme
Terminal Parser
A terminal utility that its sole objective is to parse terminal-like arguments.
Its functionality is super simple to describe.
It turns this ['--environment=development', '--mode=2']
to {environment: 'development', 'mode': '2'}
How to use
Install from npm
npm install terminal-parser --save
Include it in your project
var Terminal = require('terminal-parser');
Start parsing arguments
var args = Terminal.parseArgs(['--environment=development', '--mode=2']);