Sunday, 22 March 2020

make an npm package installable, but keep its repo private

Within my npm organization, I want a given package to be installable via npm/yarn but make its git repo inaccessible/private. Is this possible? Reason being: the package source code needs to be kept confidential, but its functionality needs to remain publicly consumable as a library. I can obfuscate the installed code with minification, but need a way to restrict access to the source.

Submitted March 22, 2020 at 08:28PM by wagonn

No comments:

Post a Comment