문제

I'm learning node.js and express, I am wondering what is the property "private" in ./package.json file used for?

도움이 되었습니까?

해결책

Taken from this site, https://docs.npmjs.com/files/package.json#private

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top