UNPKG

@thi.ng/defmulti

Version:

Dynamic, extensible multiple dispatch via user supplied dispatch function.

96 lines 2.35 kB
{ "name": "@thi.ng/defmulti", "version": "3.0.75", "description": "Dynamic, extensible multiple dispatch via user supplied dispatch function.", "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/defmulti", "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": "yarn npm publish --access public", "test": "bun test", "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts" }, "dependencies": { "@thi.ng/api": "^8.12.1", "@thi.ng/errors": "^2.5.41", "@thi.ng/logger": "^3.1.16" }, "devDependencies": { "esbuild": "^0.25.8", "typedoc": "^0.28.9", "typescript": "^5.9.2" }, "keywords": [ "agent", "arity", "clojure", "functional", "hierarchy", "inheritance", "multiple-dispatch", "polymorphic", "typescript" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./api": { "default": "./api.js" }, "./defmulti-n": { "default": "./defmulti-n.js" }, "./defmulti": { "default": "./defmulti.js" }, "./impls": { "default": "./impls.js" }, "./logger": { "default": "./logger.js" } }, "thi.ng": { "year": 2018 }, "gitHead": "0bcedf8d1dd4f30cd06bb2c668599628f2f0141e\n" }