init-npm-project

3.0.0 • Public • Published

init-npm-project

arrange a minimal setup for an npm project

Installation

This package is best consumed as a CLI command, so

npm install --global init-npm-project

Usage

init-npm-project [--name] [--description] [--author] [--no-github] [--no-mkdir]

By default, name, description and author name are asked before creation. If you like one-liners, you may provide them using the named args.
GitHub credentials cannot be provided as args, you always have to type them.

console output

--name

The name of your next project.

--description

The description of you next project.

--author

Your name (and optionally email). This gets directly dumped in the package.json author field.

--no-mkdir

Do not create a dir but use an existent one.
Be careful because the tool may overwrite existing files (package.json, README.md, .gitignore).

--no-github

If this flag is specified, nothing GitHub-related will be done.
Otherwise, the tool will ask for your GitHub credentials (which are not stored in any way, you can check the code).

License

MIT

Package Sidebar

Install

npm i init-npm-project

Weekly Downloads

8

Version

3.0.0

License

MIT

Last publish

Collaborators

  • mattecapu