Socket
Socket
Sign inDemoInstall

module

Package Overview
Dependencies
170
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    module

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


Version published
Weekly downloads
21K
decreased by-6.8%
Maintainers
1
Install size
3.91 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 15 Apr 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc