This package is best consumed as a CLI command, so
npm install --global init-npm-project
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.
The name of your next project.
The description of you next project.
Your name (and optionally email). This gets directly dumped in the package.json
author field.
Do not create a dir but use an existent one.
Be careful because the tool may overwrite existing files (package.json
, README.md
, .gitignore
).
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).
MIT