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

QWhich of the following commands can be used to create a scoped package?

ID: #19406 npm Scoped Packages 82 views
Question Info
#19406Q ID
EasyDifficulty
npm Scoped PackagesTopic

Choose the Best Option

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

  • A npm init @
  • B npm init --scope=
  • C npm init --scope=@
  • D npm init
Correct Answer

Explanation

To create a scoped package, you can use the following command:


npm init --scope=<scopename>

Share This Question

Challenge a friend or share with your study group.