gin-npg

0.0.1 • Public • Published

npg

npg -> node package generator

npg is a command line tool to generate a node package with a basic template.

Screenshot

npg

Installation

npm install gin-npg -g

Usage

$ npg -h
Usage: npg <command> [options]
 
Options:
  -V, --version  output the version number
  -h, --help     output usage information
 
Commands:
  init|i [name]  generate a new node module

Structure

Your Node Package
├── README.md
├── .npmignore
├── .babelrc
├── .eslintrc.js
├── .gitignore
├── package.json
└── src
    └── index.js

  • all the source files of the package would be put in the src directory.
  • when you want to publish the package, run npm run build to build src to lib.
  • eslint rules were base on airbnb, you can run npm run lint to check your code.

License

MIT

Package Sidebar

Install

npm i gin-npg

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

6.01 kB

Total Files

10

Last publish

Collaborators

  • lancegin