mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
PR-URL: https://github.com/nodejs/node/pull/61089 Refs: https://github.com/nodejs/node/pull/60814 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
6 lines
147 B
JavaScript
6 lines
147 B
JavaScript
const { parseArgs } = require('util');
|
|
|
|
const parsedArgs = parseArgs({ strict: false }).values;
|
|
|
|
process.stdout.write(JSON.stringify(parsedArgs));
|