DOKK / manpages / debian 10 / npm / npm-start.1.en
NPM-START(1) NPM-START(1)

npm-start - Start a package

npm start [-- <args>]

This runs an arbitrary command specified in the package's "start" property of its "scripts" object. If no "start" property is specified on the "scripts" object, it will run node server.js.

As of npm@2.0.0 http://blog.npmjs.org/post/98131109725/npm-2-0-0, you can use custom arguments when executing scripts. Refer to npm help run-script for more details.

  • npm help run-script
  • npm help 7 scripts
  • npm help test
  • npm help restart
  • npm help stop

August 2020