-
enforceFlagImplications()
-
Enforces all flag implications.
- Source:
-
flags()
-
Exposes methods to get and set v8 flags.
Example
var flags = require('v8-flags').flags; console.log(flags.use_strict()); // false flags.use_strict(true) console.log(flags.use_strict()); // true
-
listFlags() → {Object}
-
Lists all flags along with their current value.
Returns:
key/value pair for each flag
- Type
- Object
-
meta() → {Array.<Object>}
-
The meta data for the flags.
It is initialized on startup from the definitions found in C++ land.
Returns:
array of objects with the folloing properties each
- name: flag name
- default: default setting of the flag
- type: type of the flag
- description: the description of the flag
- readonly: set
true
if flag cannot be set - configurable: set
true
if setting the flag at runtime has the desired effect - implications: flags that will be set to
true
whenever this flag istrue
andenforceFlagImplications
is called - negativeImplications: flags that will be set to
false
whenever this flag isfalse
andenforceFlagImplications
is called
- Type
- Array.<Object>
-
printHelp()
-
Prints flag help to the console.
- Source:
-
resetAllFlags()
-
Resets all flags to their default values
- Source:
Maintenance
Commit Frequency
Further analysis of the maintenance status of v8-flags based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Inactive.
An important project maintenance signal to consider for v8-flags is that it hasn't seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.
In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.