has-async-hooks
Version:
check if the current node version has async_hooks.
31 lines (21 loc) • 656 B
Markdown
if the current node version has async_hooks.
[![npm][npm-image]][npm-url]
[![standard][standard-image]][standard-url]
[ ]: https://img.shields.io/npm/v/has-async-hooks.svg?style=flat-square
[ ]: https://www.npmjs.com/package/has-async-hooks
[ ]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[ ]: http://npm.im/standard
```
npm install has-async-hooks
```
```js
var hasAsyncHooks = require('has-async-hooks')
hasAsyncHooks()
// → true if async_hooks is available
// false otherwise
```
[ ](LICENSE.md)
check