简体   繁体   中英

Republish a scoped private npm module as public

I accidentally published a scoped module as private @user/module . How to open it, or republish it to be public?

In the module directory run npm access public . Done!

Note, this will work even if you're not a paying customer of the NPM Inc any more.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM