inline-assets
Version:
Inline External Assets of HTML/CSS Files
62 lines (43 loc) • 1.65 kB
Markdown
<p align="center">
<a href="http://gulpjs.com">
<img height="257" width="114" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png">
</a>
</p>
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
Get available v8 and Node.js flags.
```js
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',
// ...
});
```
Finds the available flags and calls the passed callback with any errors and an array of flag results.
The name of the cache file for flags.
The filepath location of the `configfile` above.
MIT
<!-- prettier-ignore-start -->
[]: https://img.shields.io/npm/dm/v8flags.svg?style=flat-square
[]: https://www.npmjs.com/package/v8flags
[]: https://img.shields.io/npm/v/v8flags.svg?style=flat-square
[]: https://github.com/gulpjs/v8flags/actions?query=workflow:dev
[]: https://img.shields.io/github/actions/workflow/status/gulpjs/v8flags/dev.yml?branch=master&style=flat-square
[]: https://coveralls.io/r/gulpjs/v8flags
[]: https://img.shields.io/coveralls/gulpjs/v8flags/master.svg?style=flat-square
<!-- prettier-ignore-end -->