JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 29189
  • Score
    100M100P100Q133579F
  • License MIT

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

Package Exports

  • module

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (module) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

module NPM version

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

Installation

Install the package with NPM:

$ npm install -g module

Usage

Example:

# Create a module in the current working directory:
$ module

# Create a module in the "hello" directory (relative path):
$ module hello

# Create a module in the "hello" directory (absolute path):
$ module /tmp/hello

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