module
Generate the minimal skeleton/boilerplate for a new Node.js module.
Last updated 3 years ago by lukehorvat .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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

  • 1.2.5                                ...           latest (3 years ago)

9 Versions

  • 1.2.5                                ...           3 years ago
  • 1.2.4                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.0.1                                ...           7 years ago

Copyright 2014 - 2016 © taobao.org |