We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c5180c commit ef60888Copy full SHA for ef60888
pages/common/npm-hook.md
@@ -0,0 +1,21 @@
1
+# npm hook
2
+
3
+> Manage `npm` registry hooks for packages.
4
+> Note: This command has been deprecated.
5
+> More information: <https://docs.npmjs.com/cli/v10/hook>.
6
7
+- List all active hooks:
8
9
+`npm hook ls`
10
11
+- Add a new hook for a package:
12
13
+`npm hook add {{package_name}} {{event}} {{target_url}}`
14
15
+- Remove a specific hook by its ID:
16
17
+`npm hook rm {{hook_id}}`
18
19
+- Update a hook with new information:
20
21
+`npm hook update {{hook_id}} {{target_url}}`
0 commit comments