{"library":"has-async-hooks","type":"library","category":null,"description":"This package, `has-async-hooks`, provides a lightweight utility function to programmatically determine if the `async_hooks` API is available in the current Node.js runtime environment. Currently at version 1.0.0, it is a stable, single-purpose library. Its primary differentiator is its simplicity and explicit focus on feature detection for `async_hooks`, which became stable in Node.js 8.0.0. This utility is particularly useful for conditional code execution or polyfilling in environments where compatibility with various Node.js versions (especially older ones) is a concern. The library has a very stable release cadence, with its initial 1.0.0 release being its sole version to date, indicating its 'fire and forget' nature once the feature detection logic is established.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","async_hooks","check","detect","node"],"last_verified":"Wed May 27","install":[{"cmd":"npm install has-async-hooks","imports":["import hasAsyncHooks from 'has-async-hooks'","const hasAsyncHooks = require('has-async-hooks')"]},{"cmd":"yarn add has-async-hooks","imports":[]},{"cmd":"pnpm add has-async-hooks","imports":[]}],"homepage":null,"github":"https://github.com/goto-bus-stop/has-async-hooks","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/has-async-hooks","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/has-async-hooks/compatibility"}}