File Explorer

/var/lang/lib/node_modules/npm/man/man1

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
70 files
npm-stop.11.4 KB · 76 lines
.TH "NPM-STOP" "1" "February 2026" "NPM@11.11.0" "".SH "NAME"\fBnpm-stop\fR - Stop a package.SS "Synopsis".P.RS 2.nfnpm stop \[lB]-- <args>\[rB].fi.RE.SS "Description".PThis runs a predefined command specified in the "stop" property of a package's "scripts" object..PUnlike with npm help start, there is no default script that will run if the \fB"stop"\fR property is not defined..SS "Example".P.RS 2.nf{  "scripts": {    "stop": "node bar.js"  }}.fi.RE.P.RS 2.nfnpm stop > npm@x.x.x stop> node bar.js (bar.js output would be here) .fi.RE.SS "Configuration".SS "\fBignore-scripts\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .PIf true, npm does not run scripts specified in package.json files..PNote 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..SS "\fBscript-shell\fR".RS 0.IP \(bu 4Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows.IP \(bu 4Type: null or String.RE 0 .PThe shell to use for scripts run with the \fBnpm exec\fR, \fBnpm run\fR and \fBnpminit <package-spec>\fR commands..SS "See Also".RS 0.IP \(bu 4npm help run.IP \(bu 4npm help scripts.IP \(bu 4npm help test.IP \(bu 4npm help start.IP \(bu 4npm help restart.RE 0