An open API service indexing awesome lists of open source software.

https://github.com/jhermsmeier/npm-create

Improved npm init
https://github.com/jhermsmeier/npm-create

cli npm

Last synced: 12 months ago
JSON representation

Improved npm init

Awesome Lists containing this project

README

          

# npm-create
[![npm](http://img.shields.io/npm/v/npm-create.svg?style=flat-square)](https://npmjs.com/npm-create)
[![npm](http://img.shields.io/npm/l/npm-create.svg?style=flat-square)](https://npmjs.com/npm-create)
[![npm downloads](http://img.shields.io/npm/dm/npm-create.svg?style=flat-square)](https://npmjs.com/npm-create)
[![build status](http://img.shields.io/travis/jhermsmeier/npm-create.svg?style=flat-square)](https://travis-ci.org/jhermsmeier/npm-create)

## Install via [npm](https://npmjs.com)

```sh
$ npm install npm-create
```

## Usage

```sh
# 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
```