argparser-js
v1.0.0
Published
parse a string into argv
Downloads
5
Readme
argparser-js
A direct port of argparser-hs to javascript. Need this for my darkness bot. Takes a string and turns it into an "argv" (array of string arguments).
Why?
When you need to parse a string into an array of strings. For example, parsing a string on irc into "command line arguments" to be processed by some module.
Examples / Tests
see examples/main.js & test/index.spec.js
node examples/main.js
npm test