Yankun168 cb620fbdc3 5.10存档 11 ヶ月 前
..
dist cb620fbdc3 5.10存档 11 ヶ月 前
node_modules cb620fbdc3 5.10存档 11 ヶ月 前
templates cb620fbdc3 5.10存档 11 ヶ月 前
.npmignore cb620fbdc3 5.10存档 11 ヶ月 前
LICENSE cb620fbdc3 5.10存档 11 ヶ月 前
README.md cb620fbdc3 5.10存档 11 ヶ月 前
package.json cb620fbdc3 5.10存档 11 ヶ月 前

README.md

module NPM version

Generate the minimal skeleton/boilerplate for a new Node.js module.

Installation

Install the package with NPM:

$ npm install -g module

Usage

For example, to create a module in the current working directory:

$ module

And to create a module in another directory, specify a relative or absolute path:

$ module hello

If the directory doesn't exist yet, it will be automatically created.

The following boilerplate files are generated for you:

  • package.json
  • index.js
  • cli.js
  • README.md
  • .gitignore