check if the current node version has async_hooks.
npm install has-async-hookscheck if the current node version has async_hooks.
[![npm][npm-image]][npm-url]
[![standard][standard-image]][standard-url]
[npm-image]: https://img.shields.io/npm/v/has-async-hooks.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/has-async-hooks
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: 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