NPM-TEST(1) General Commands Manual NPM-TEST(1)
NAME
npm-test
Synopsis
<!-- AUTOGENERATED USAGE DESCRIPTIONS -->
Description
This runs a predefined command specified in the "test" prop-
erty of
a package's "scripts" object.
Example
{
"scripts": {
"test": "node test.js"
}
}
npm test
> npm@x.x.x test
> node test.js
(test.js output would be here)
Configuration
<!-- AUTOGENERATED CONFIG DESCRIPTIONS -->
See Also
• npm run-script
• npm scripts
• npm start
• npm restart
• npm stop
9.2.0 May 2024 NPM-TEST(1)
Generated by dwww version 1.16 on Tue Dec 16 05:01:27 CET 2025.