argparser-js

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i argparser-js

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • adarqui