LinuxCommandLibrary

npm-hook

manages npm registry webhooks

TLDR

List hooks

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

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.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community