Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/goto-bus-stop/has-async-hooks
- Owner: goto-bus-stop
- License: other
- Created: 2018-04-20T13:13:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-31T04:58:41.000Z (over 1 year ago)
- Last Synced: 2024-10-05T16:01:23.597Z (about 1 month ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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)