3 ms·
> . . . argument parsing . . . > Node has none. https://nodejs.org/docs/latest/api/process.html#process_process_argv https://nodejs.org/docs/latest/api/pro
by combatentropy 9y ago
> . . . argument parsing . . .
> Node has none.
https://nodejs.org/docs/latest/api/process.html#process_process_argv https://nodejs.org/docs/latest/api/process.html#process_proc...
- 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.