![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | LICENSE | 40 years ago | 1.2K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
![]() | README.md | 40 years ago | 1.8K | f12eb36 documentaiton updates [كارل مبارك] |
![]() | config-path.js | 40 years ago | 842 | |
![]() | index.js | 40 years ago | 5.8K | |
![]() | package.json | 2 years ago | 2.3K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
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.configfile
The name of the cache file for flags.
v8flags.configPath
The filepath location of the configfile
above.
MIT