mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00

PR-URL: https://github.com/nodejs/node/pull/57016 Refs: https://github.com/nodejs/node/issues/53787 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
7 lines
251 B
JavaScript
7 lines
251 B
JavaScript
// Flags: --expose-internals
|
|
|
|
import internal from 'internal/options';
|
|
import { writeFileSync } from 'fs';
|
|
|
|
const schema = internal.generateConfigJsonSchema();
|
|
writeFileSync('doc/node_config_json_schema.json', `${JSON.stringify(schema, null, 2)}\n`);
|