Re:Build command line apps using PHP 7
by combatentropy on Sunday September 03, 2017 @07:08PM
(#15164501)
https://nodejs.org/docs/latest/api/process.html#process_proc...
[ Parent
| on HN ]
> https://nodejs.org/docs/latest/api/process.html#process_proc....
This is not argument parsing. I'm pretty sure Node doesn't even do anything, it just gets an array of strings from the CLI, argv C style isn't getting options prefixed with - or -- directly from the CLI, and putting them in a map or something. So no, node has no facility in its standard library for that. Node is not known for its extensive standard library in anyway.