Releases: mamedul/node-hooker
2025.09.07 - Second Release
[v2025.09.07] - 2025-09-07
Updated & Changed
* Documentations only
2025.09.06- First Release
[v2025.09.06] - 2025-09-06
Added
-
Initial Release: First public version of
node-hooker. -
Full WordPress Hook API Parity: Implemented the complete WordPress hooks system for Node.js.
-
Core Architecture:
-
Hook.jsclass to manage individual hooks. -
Hookerclass to orchestrate all actions and filters. -
A default singleton instance is exported for ease of use, and the
Hookerclass is exported for creating isolated instances.
-
-
Core API Methods:
-
add,removefor generic hook management. -
Action Functions:
add_action,remove_action,do_action,do_action_ref_array,remove_all_actions. -
Filter Functions:
add_filter,remove_filter,apply_filters,apply_filters_ref_array,remove_all_filters. -
Inspection Functions:
has_action,has_filter,did_action,current_action,current_filter,doing_action,doing_filter.
-
-
Features: Support for callback priorities and defining the number of accepted arguments.
-
Project Files:
-
Comprehensive
README.mdfor documentation. -
package.jsonfor NPM distribution. -
A full test suite (
test.js) ensuring all functions work as expected.
-