3 ms·
> https://nodejs.org/docs/latest/api/process.html#process_proc.. https://nodejs.org/docs/latest/api/process.html#process_proc.... This is not argument parsing.
by camus2 9y ago
> https://nodejs.org/docs/latest/api/process.html#process_proc.. 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.