package
Get available v8 and Node.js flags.
npm install v8flagsGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
9.5 kB
Includes dependencies.
Get available v8 and Node.js flags.
const v8flags = require('v8flags');
v8flags(function (err, results) {
console.log(results);
// [ '--use_strict',
// '--es5_readonly',
// '--es52_globals',
// '--harmony_typeof',
// '--harmony_scoping',
// '--harmony_modules',
// '--harmony_proxies',
// '--harmony_collections',
// '--harmony',
// ...
});v8flags(cb)Finds the available flags and calls the passed callback with any errors and an array of flag results.
v8flags.configfileThe name of the cache file for flags.
v8flags.configPathThe filepath location of the configfile above.
MIT