npm-hook

manages npm registry webhooks

TLDR

List hooks
$ npm hook ls
Add hook
$ npm hook add [package] [url] [secret]
Remove hook
$ npm hook rm [id]
Update hook
$ npm hook update [id] [url] [secret]

SYNOPSIS

npm hook [command] [options]

DESCRIPTION

npm hook manages npm registry webhooks. Triggers on package events.The command configures notifications. Useful for CI/CD integration.

PARAMETERS

COMMAND

Hook subcommand.
ls
List hooks.
add PKG URL
Add webhook.
rm ID
Remove hook.
update ID
Update hook.
--help
Display help information.

INSTALL

sudo pacman -S npm
sudo apk add npm
brew install npm

CAVEATS

Requires authentication. Registry webhooks. Enterprise feature.

HISTORY

npm hook enables webhook management for automated responses to npm registry events.

SEE ALSO

npm(1), npm-publish(1)