.TH "NPM\-STOP" "1" "November 2023" "9.2.0" .SH "NAME" \fBnpm-stop\fR .SH Synopsis .SH Description .P This runs a predefined command specified in the "stop" property of a .br package's "scripts" object\. .P Unlike with npm start, there is no default script .br that will run if the \fB"stop"\fP property is not defined\. .SH Example .RS 2 .nf { "scripts": { "stop": "node bar\.js" } } .fi .RE .RS 2 .nf npm stop > npm@x\.x\.x stop > node bar\.js (bar\.js output would be here) .fi .RE .SH Configuration .SH See Also .RS 1 .IP \(bu 2 npm run\-script .IP \(bu 2 npm scripts .IP \(bu 2 npm test .IP \(bu 2 npm start .IP \(bu 2 npm restart .RE