Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> In old versions of npm, to convey “all rights reserved” or “proprietary” you used to need to set the license field in package.json to "UNLICENSED"

Still is: https://docs.npmjs.com/files/package.json#license

> Finally, if you do not wish to grant others the right to use a private or unpublished package under any terms:

     { "license": "UNLICENSED" }


Thanks for the correction. I’ve even confused myself on this one because of the title of https://github.com/npm/npm/issues/8918 before, and I did it again now a few years later! My apologies.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: