Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
NPM-INIT(1)							   NPM-INIT(1)

NAME
       npm-init	- Interactively	create a package.json file

SYNOPSIS
	 npm init [-f|--force|-y|--yes]

DESCRIPTION
       This  will  ask you a bunch of questions, and then write	a package.json
       for you.

       It attempts to make reasonable guesses about what you want things to be
       set to, and then	writes a package.json file with	the options you've se-
       lected.

       If you already have a package.json file,	it'll read that	first, and de-
       fault to	the options in there.

       It  is strictly additive, so it does not	delete options from your pack-
       age.json	without	a really good reason to	do so.

       If you invoke it	with -f, --force, -y, or --yes,	it will	use  only  de-
       faults and not prompt you for any options.

CONFIGURATION
   scope
       o Default: none

       o Type: String

       The scope under which the new module should be created.

SEE ALSO
       o https://github.com/isaacs/init-package-json

       o npm help 5 package.json

       o npm help version

       o npm help 7 scope

				   June	2017			   NPM-INIT(1)

NAME | SYNOPSIS | DESCRIPTION | CONFIGURATION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=npm-init&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help