inline-assets
Version:
Inline External Assets of HTML/CSS Files
65 lines (45 loc) • 1.83 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] [![Travis Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-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
[]: http://img.shields.io/npm/dm/v8flags.svg
[]: https://www.npmjs.com/package/v8flags
[]: http://img.shields.io/npm/v/v8flags.svg
[]: https://travis-ci.org/gulpjs/v8flags
[]: http://img.shields.io/travis/gulpjs/v8flags.svg?label=travis-ci
[]: https://ci.appveyor.com/project/gulpjs/v8flags
[]: https://img.shields.io/appveyor/ci/gulpjs/v8flags.svg?label=appveyor
[]: https://coveralls.io/r/gulpjs/v8flags
[]: http://img.shields.io/coveralls/gulpjs/v8flags/master.svg
[]: https://gitter.im/gulpjs/gulp
[]: https://badges.gitter.im/gulpjs/gulp.svg