Sign Up for Free

RunKit +

Try any Node.js package right in your browser

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:

var args = require("@swim/args")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@swim/args v3.10.2

Composable command line argument parser


package documentation chat

@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/main. Transpiled JavaScript and TypeScript definition files install into node_modules/@swim/args/lib/main. And a pre-built UMD script can be found in node_modules/@swim/args/dist/main/swim-args.js.



@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");
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free