JSPM

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

A full-featured framework for building command line applications (cli) with node.js

Package Exports

  • @donmccurdy/caporal

Readme

Fork of the @caporal/core package, with updated dependencies and builds. For the original project and documentation, see https://caporal.io/.

Quickstart

Installation:

npm install @donmccurdy/caporal

Import:

// CommonJS
const { program } = require('@donmccurdy/caporal');

// ESM
import { program } from '@donmccurdy/caporal';

program
  .command(...)
  .action(...);