Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/goto-bus-stop/has-async-hooks

check if the current node version has async_hooks.
https://github.com/goto-bus-stop/has-async-hooks

Last synced: 27 days ago
JSON representation

check if the current node version has async_hooks.

Awesome Lists containing this project

README

        

# has-async-hooks

check 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

## Install

```
npm install has-async-hooks
```

## Usage

```js
var hasAsyncHooks = require('has-async-hooks')
hasAsyncHooks()
// → true if async_hooks is available
// false otherwise
```

## License

[Apache-2.0](LICENSE.md)