This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
npm init
and scoped package names
#6749
Labels
npm init
and scoped package names
#6749
Because directory names cannot contain slashes,
npm init
will never default to an npm-2-style scoped package name:» mkdir -p @zeke/some-package » cd @zeke/some-package » npm init This utility blah blah... name: (some-package)
It might be cool if
npm init
suggested@zeke/somepackage
, but probably not. Plus who's gonna create a directory name starting with an@
? No one, that's who.Or what about a flag or npm-config setting, like
npm init --scope=@zeke
?Bah. Feel free to close this issue upon reading.
The text was updated successfully, but these errors were encountered: