What is the test command while creating package.json?

Viewed 72370

While creating package.json from command line using npm init for creating a module in Node.js, there is a test command field that I don't know about. There's no mention of it in the docs too on executing npm help json also in the CLI.

Please explain what it is about.

2 Answers
Related