|
il y a 11 mois | |
---|---|---|
.. | ||
dist | il y a 11 mois | |
node_modules | il y a 11 mois | |
templates | il y a 11 mois | |
.npmignore | il y a 11 mois | |
LICENSE | il y a 11 mois | |
README.md | il y a 11 mois | |
package.json | il y a 11 mois |
Generate the minimal skeleton/boilerplate for a new Node.js module.
Install the package with NPM:
$ npm install -g module
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