This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
@swim/args with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
@swim/args implements a composable command-line argument parser.
For an npm-managed project,
npm install @swim/args to make it a dependency.
TypeScript sources will be installed into
node_modules/@swim/args/lib/main. And a pre-built UMD script can
be found in
@swim/args can be imported as an ES6 module from TypeScript and other ES6-compatible environments.
import * as args from "@swim/args";
@swim/args can also be used as a CommonJS module in Node.js applications.
var args = require("@swim/args");