Answers for "npm initialize"

1

initialize npm

$ npm init
  ...
  package name: @airnovaet.com/hello-world
  ...
  test command: exit 0
  ...
Posted by: Guest on June-16-2021
3

npm default init

npm config ls -l	# List some default settings

npm config set <key> <value> -g	# Set default value for a key
npm config set init-author-name "John Doe" -g	# Set default author
npm config set init-version "1.0.0" -g	# Set default version
npm config set init-license "MIT" -g	# Set default license

npm config get <key>	# Get default value for a key

npm init -y	# Create package.json with default settings
Posted by: Guest on July-19-2020

Browse Popular Code Answers by Language