npm-create

Improved npm init

Usage no npm install needed!

<script type="module">
  import npmCreate from 'https://cdn.skypack.dev/npm-create';
</script>

README

npm-create

npm npm npm downloads build status

Install via npm

$ npm install npm-create

Usage

# Create & enter the directory for your module
$ mkdir some-package && cd some-package
# Run it
$ npm-create
# Answer the questions
? Module name: (test)
? Repository prefix: ()
? Version: (0.0.0) 1.0.0
? Description: () Some description of your module
? Keywords: () key, words, test, useless
? License: (Use arrow keys)
> MIT
  BSD-3-Clause
  BSD-2-Clause
  GPL-3.0
  Apache-2.0
? Entry point: (lib/test)
? Tests: (echo "Error: no test specified" && exit 1)
# You're done