UNPKG

@thi.ng/args

Version:

Declarative, functional CLI argument/options parser, app framework, arg value coercions, multi/sub-commands, usage generation, error handling etc.

115 lines (114 loc) 2.52 kB
{ "name": "@thi.ng/args", "version": "3.2.6", "description": "Declarative, functional CLI argument/options parser, app framework, arg value coercions, multi/sub-commands, usage generation, error handling etc.", "type": "module", "module": "./index.js", "typings": "./index.d.ts", "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/thi-ng/umbrella.git" }, "homepage": "https://thi.ng/args", "funding": [ { "type": "github", "url": "https://github.com/sponsors/postspectacular" }, { "type": "patreon", "url": "https://patreon.com/thing_umbrella" }, { "type": "liberapay", "url": "https://liberapay.com/thi.ng" } ], "author": "Karsten Schmidt (https://thi.ng)", "license": "Apache-2.0", "scripts": { "build": "yarn build:esbuild && yarn build:decl", "build:decl": "tsc --declaration --emitDeclarationOnly", "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts", "clean": "bun ../../tools/src/clean-package.ts", "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts", "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts", "pub": "npm publish --access public", "test": "bun test", "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts" }, "dependencies": { "@thi.ng/api": "^8.12.11", "@thi.ng/checks": "^3.8.1", "@thi.ng/errors": "^2.6.0", "@thi.ng/logger": "^3.2.10", "@thi.ng/strings": "^3.9.32", "@thi.ng/text-format": "^2.2.51" }, "devDependencies": { "@types/node": "^24.10.1", "esbuild": "^0.27.0", "typedoc": "^0.28.14", "typescript": "^5.9.3" }, "keywords": [ "ansi", "argument", "cli", "coerce", "color", "conversion", "declarative", "functional", "hex", "logger", "no-browser", "nodejs", "parser", "tuple", "typescript", "validate" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./api": { "default": "./api.js" }, "./args": { "default": "./args.js" }, "./cli": { "default": "./cli.js" }, "./coerce": { "default": "./coerce.js" }, "./header": { "default": "./header.js" }, "./parse": { "default": "./parse.js" }, "./usage": { "default": "./usage.js" } }, "thi.ng": { "tag": "cli", "year": 2018 }, "gitHead": "e7a21b9d2a188fa04d4c893d8531c40fbc0f4c06\n" }