Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
npm-stop.176 linesDownload Raw Back to man1
1.TH "NPM-STOP" "1" "April 2026" "NPM@11.13.0" ""
2.SH "NAME"
3\fBnpm-stop\fR - Stop a package
4.SS "Synopsis"
5.P
6.RS 2
7.nf
8npm stop \[lB]-- <args>\[rB]
9.fi
10.RE
11.SS "Description"
12.P
13This runs a predefined command specified in the "stop" property of a package's "scripts" object.
14.P
15Unlike with npm help start, there is no default script that will run if the \fB"stop"\fR property is not defined.
16.SS "Example"
17.P
18.RS 2
19.nf
20{
21  "scripts": {
22    "stop": "node bar.js"
23  }
24}
25.fi
26.RE
27.P
28.RS 2
29.nf
30npm stop
31
32> npm@x.x.x stop
33> node bar.js
34
35(bar.js output would be here)
36
37.fi
38.RE
39.SS "Configuration"
40.SS "\fBignore-scripts\fR"
41.RS 0
42.IP \(bu 4
43Default: false
44.IP \(bu 4
45Type: Boolean
46.RE 0
47
48.P
49If true, npm does not run scripts specified in package.json files.
50.P
51Note that commands explicitly intended to run a particular script, such as \fBnpm start\fR, \fBnpm stop\fR, \fBnpm restart\fR, \fBnpm test\fR, and \fBnpm run\fR will still run their intended script if \fBignore-scripts\fR is set, but they will \fInot\fR run any pre- or post-scripts.
52.SS "\fBscript-shell\fR"
53.RS 0
54.IP \(bu 4
55Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows
56.IP \(bu 4
57Type: null or String
58.RE 0
59
60.P
61The shell to use for scripts run with the \fBnpm exec\fR, \fBnpm run\fR and \fBnpm
62init <package-spec>\fR commands.
63.SS "See Also"
64.RS 0
65.IP \(bu 4
66npm help run
67.IP \(bu 4
68npm help scripts
69.IP \(bu 4
70npm help test
71.IP \(bu 4
72npm help start
73.IP \(bu 4
74npm help restart
75.RE 0
76 
codekingpro/portable-devtools · Team Ai