module
Generate the minimal skeleton/boilerplate for a new Node.js module.
Last updated 11 years ago by lukehorvat .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install module 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.0                                ...           latest (a year ago)

10 Versions

  • 2.0.0                                ...           a year ago
  • 1.2.5                                ...           11 years ago
  • 1.2.4                                ...           11 years ago
  • 1.2.3                                ...           11 years ago
  • 1.2.2                                ...           11 years ago
  • 1.2.1                                ...           11 years ago
  • 1.2.0                                ...           11 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
  • 0.0.1                                ...           15 years ago
Maintainers (1)
Downloads
Total 86
Today 1
This Week 13
This Month 69
Last Day 1
Last Week 13
Last Month 16
Dependencies (7)
Dev Dependencies (3)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE