commands.sh

npm hook

all

Manage `npm` registry hooks for packages. Note: This command has been deprecated.

More info →

Examples (4)

List all active hooks

Add a new hook for a package

npm hook add package_name event target_url

Remove a specific hook by its ID

npm hook rm hook_id

Update a hook with new information

npm hook update hook_id target_url
made by @shridhargupta | data from tldr-pages