1.4.13 • Published 4 years ago

@extra-npm/init v1.4.13

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Initialize Node.js repository.

Do you want it:

  • Created on GitHub?
  • Cloned to local directory?
  • And, Populated with LICENSE and README.md?

usage

enpm-init --repository
# initialize package.json in current directory

enpm-init --version 0.1.0 --author "Po Po <pp@baking.com> (https://pp.github.io)" -r
# initialize with some prespecified options

enpm-init --yes -v 0.1.0 -a pp@baking.com --username pp --password **** -r https://github.com/pp/paper
# initialize with given options and defaults (include github credentials)

GITHUB_USERNAME=pp
GITHUB_PASSWORD=****
enpm-init --yes -v 0.1.0 -a pp@baking.com -r pp/paper
# initialize with given options and defaults (dont ask)

With extra-npm try enpm init instead.

reference

enpm-init [options]
# --help:    show this help 
# -y, --yes: accept defaults
# -n, --name:          package name
# -v, --version:       start version (0.0.0)
# -d, --description:   package description
# -m, --main:          main script path (index.js)
# -st, --scripts_test: test script (exit)
# -r, --repository: repository path ([https://github.com/]user/repo)
# -k, --keywords:   comma separated keywords
# -a, --author:     author name <email> (url)
# -l, --license:    license type (mit)
# -u, --username: github username
# -p, --password: github password

# Environment variables:
# ENPM_INIT_YES: accept defaults (0/1)
# ENPM_INIT_NAME:         package name
# ENPM_INIT_VERSION:      start version (0.0.0)
# ENPM_INIT_DESCRIPTION:  package description
# ENPM_INIT_MAIN:         main script path (index.js)
# ENPM_INIT_SCRIPTS_TEST: test script (exit)
# ENPM_INIT_REPOSITORY: repository path ([https://github.com/]user/repo)
# ENPM_INIT_KEYWORDS:   comma separated keywords
# ENPM_INIT_AUTHOR:     author name <email> (url)
# ENPM_INIT_LICENSE:    license type (mit)
# GITHUB_USERNAME: github username
# GITHUB_PASSWORD: github password

nodef

References: npm init.

1.4.13

4 years ago

1.4.10

4 years ago

1.4.9

4 years ago

1.4.8

4 years ago

1.4.7

4 years ago

1.4.6

4 years ago

1.4.5

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.15

4 years ago

1.3.13

4 years ago

1.3.12

4 years ago

1.3.11

4 years ago

1.3.10

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.13

4 years ago

1.2.12

4 years ago

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.1.75

5 years ago

1.1.74

5 years ago

1.1.73

5 years ago

1.1.72

5 years ago

1.1.71

5 years ago

1.1.70

5 years ago

1.1.69

5 years ago

1.1.68

5 years ago

1.1.67

5 years ago

1.1.66

5 years ago

1.1.65

5 years ago

1.1.64

5 years ago

1.1.63

5 years ago

1.1.62

5 years ago

1.1.61

5 years ago

1.1.60

5 years ago

1.1.59

5 years ago

1.1.58

5 years ago

1.1.57

5 years ago

1.1.56

5 years ago

1.1.55

5 years ago

1.1.54

5 years ago

1.1.53

5 years ago

1.1.52

5 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago