/ archiveofbelonging.org / back / node_modules / v8flags /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE40 years ago1.2K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[TXT]README.md40 years ago1.8Kf12eb36 documentaiton updates [كارل مبارك]
[   ]config-path.js40 years ago842  
[   ]index.js40 years ago5.8K 
[   ]package.json2 years ago2.3K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
README.md

v8flags

NPM version Downloads Travis Build Status AppVeyor Build Status Coveralls Status Gitter chat

Get available v8 and Node.js flags.

Usage

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',
  // ...
});

API

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.

License

MIT

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80