Sometimes, we want to add “All Rights Reserved” license in package.json.
In this article, we’ll look at how to add “All Rights Reserved” license in package.json.
How to add “All Rights Reserved” license in package.json?
To add “All Rights Reserved” license in package.json, we add
{
"license": "UNLICENSED"
}
into package.json
This will let us denying grant rights to use a private or unpublished package under any terms.
Conclusion
To add “All Rights Reserved” license in package.json, we add
{
"license": "UNLICENSED"
}