Publish a scoped package

In the process of creating a scoped public package, you have created a scoped package that has the user scope. What command would you use to publish this?

Note: username is “username”

  1. npm publish –access public
  2. npm publish –access username
  3. npm publish –scope username -access public
  4. npm publish —scope=@username -access public

Related Posts