Options (1)
-y, --yesbooleanCreate a scoped package during initialization
Example:
npm init --scope {{@organization}} {{[-y|--yes]}}Examples (4)
Create a new user in the specified registry and save credentials to `.npmrc`
npm adduser --registry registry_urlLog in to a private registry with a specific scope
npm login --scope @organization --registry https://registry.example.comLog out from a specific scope and remove the auth token
npm logout --scope @organizationCreate a scoped package during initialization
npm init --scope @organization [-y|--yes]made by @shridhargupta | data from tldr-pages