3 ms·
Unix compliant arg parser for Node.js (https://github.com/bucaran/parsec)
Long time `minimist` user here. Leanest and simplest of the pack at just 200 LOC with _no_ dependencies by the legendary substack.
Unfortunately the documentation is scarce, it has a growing number of unresolved issues and it simply does not adhere to the [UNIX utility conventions](http://pubs.opengroup.org/onlinepubs/7908799/xbd/utilconv.html) very well (see [here](https://github.com/substack/minimist/issues/50)).
Parsec is only 50 LOC and the API is simpler, and still no dependencies!
## Features
+ Well documented
+ Based in → [UNIX Utility Conventions](http://pubs.opengroup.org/onlinepubs/7908799/xbd/utilconv.html)
+ Custom aliases
+ Default shorthands
+ Default values / types
+ Handle --no-* options
+ Handle unknown options
- bucaran 11y agoLink: https://github.com/bucaran/parsec https://github.com/bucaran/parsec Long time `minimist` user here. Leanest and simplest of the pack at just 200 LOC with _no_ dependencies by the legendary substack. Unfortunately the documentation is scarce, it has a growing number of unresolved issues → https://github.com/substack/minimist/issues/50 https://github.com/substack/minimist/issues/50. Parsec is only 50 LOC and the API is simpler, and still no dependencies! Features + Well documented + Based in → [UNIX Utility Conventions](http://pubs.opengroup.org/onlinepubs/7908799/xbd/utilconv.html http://pubs.opengroup.org/onlinepubs/7908799/xbd/utilconv.ht...) + Custom aliases + Default shorthands + Default values / types + Handle --no-* options + Handle unknown options