I'm learning node.js and express, I am wondering what is the property "private" in ./package.json file used for?
From the NPM docs on package.json:
package.json
private If you set "private": true in your package.json, then npm will refuse to publish it. This is a way to prevent accidental publication of private repositories.
private
If you set "private": true in your package.json, then npm will refuse to publish it.
"private": true
This is a way to prevent accidental publication of private repositories.
2.1m questions
2.1m answers
60 comments
57.0k users