npmjs.com

npm-test

Test a package

  npm test [-- <args>]
  npm tst [-- <args>]

This runs a package's "test" script, if one was provided.

To run tests as a condition of installation, set the npat config to true.

Last modified January 08, 2016           Found a typo? Send a pull request!

Getting Started

How npm works

Private Modules

Organizations

Using npm

npm On-Site

CLI Commands

Configuring npm

npm policy documents

View All On One Page