NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2506 most downloaded on npm
Awaitable hook system
Last release 17 days ago
17 Sep 2026
Ships unpredictably
gaps range from 9 days to 2.6 years
Most releases are documented
notes for 22 of 29 stable releases
4 versions withdrawn
withdrawn after publishing
14 years old
38 releases · first in 2012
Copy hooks before iterating in callHook
One column per quarter.
Await thenables to support cross-realm promises
Thanks to @brandonroberts for report ❤️
compare changes 🚀 Enhancements Add clearHook(name) ( #135 ) ❤️ Contributors Daniel Roe ( @danielroe )
clearHook(name) (#135)Pass name arg to caller seperately
Note This release makes hookable 20-40x faster (thanks to @negezor ) and %79 smaller (-2,258 bytes) when using new HookableCore .
Note
This release makes hookable 20-40x faster (thanks to @negezor) and %79 smaller (-2,258 bytes) when using new HookableCore.
Important
Hook results sometimes might not be a promise. Make sure to await on them.
types order in `exports (#122)type: "module" (93e5d41)"sideEffects": false to package.json (1eb317a)types: Return type is normal Promise or void
Promise or void (56f47e1)See v6.0.0 notes.
See v6.0.0 notes.
HookableCore (#127)types order in `exports (#122)type: "module" (93e5d41)"sideEffects": false to package.json (1eb317a)Clone hook arrays before calling
Add removeAllHooks and fix typos
removeAllHooks and fix typos (#72)Sébastien Chopin seb@nuxtjs.com
Add function name to hook for better dx in stacktraces
console.createTask to improve traces where supported (#69)removeAllHooks utility (#61)@types/node package (#66).prettierrc (4b3e99b)console.createTask to improve traces where supported (#69)removeAllHooks utility (#61)@types/node package (#66).prettierrc (4b3e99b)Nothing published for this version
Nothing published for this version
### Features - add createDebugger utility
allow registering a hook without showing deprecated message
callHook/callHookParallel (ed0d6a8)Nothing published for this version
Nothing published for this version
deprecate hooks doesn't have to be passed all hooks
Nothing published for this version
Nothing published for this version
callHookParallel and callHookWith
Please check Migration Guide and changelog for major changes.
Please check Migration Guide and changelog for major changes.
allow type inference for hook, hookOnce and removeHook
allow nested hooks type to omit some hooks
You should directly handle errors with callHook
drop browser build and use exports field (b626770)
drop logger and global error handler (ee6ea87)
improve type checking (c2e1e22)
use named exports and expose createHooks (fadfcbd)
remove mergehooks from Hookable prototype (d50af59)
Nothing published for this version
### Features - pkg: expose module format (2987b09) ### 4.3.1 (2020-11-06) ### Bug Fixes - expose types
### Bug Fixes * expose types
### Features * mergeHooks helper
### Features * Add hookOnce (225fa8a) ### Bug Fixes * typecheck for flatHooks
build: exclude regenerator and update target to ie 11
pkg: typo in types entry name (fixes #19)
### Features * types: implement strict types
allow removing registered hooks
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →