NPM - Package Manager npm Scoped Packages Question #19404
Single Choice Easy

QWhich of the following commands can be used to publish a public package?

ID: #19404 npm Scoped Packages 91 views
Question Info
#19404Q ID
EasyDifficulty
npm Scoped PackagesTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A npm publish --scope=public
  • B npm publish
  • C npm publish --access=public
  • D No
Correct Answer

Explanation

To publish a public package, you can use the following command:


npm publish --access=public

Share This Question

Challenge a friend or share with your study group.