UNPKG

@thi.ng/geom-closest-point

Version:

2D / 3D closest point / proximity helpers

110 lines (109 loc) 2.31 kB
{ "name": "@thi.ng/geom-closest-point", "version": "2.1.203", "description": "2D / 3D closest point / proximity helpers", "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/geom-closest-point", "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.13", "@thi.ng/math": "^5.15.2", "@thi.ng/vectors": "^8.6.19" }, "devDependencies": { "esbuild": "^0.27.2", "typedoc": "^0.28.16", "typescript": "^5.9.3" }, "keywords": [ "2d", "3d", "bbox", "circle", "distance", "ellipse", "geometry", "line", "points", "polygon", "polyline", "proximity", "rect", "typescript" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./box": { "default": "./box.js" }, "./circle": { "default": "./circle.js" }, "./ellipse": { "default": "./ellipse.js" }, "./line": { "default": "./line.js" }, "./plane": { "default": "./plane.js" }, "./points": { "default": "./points.js" } }, "thi.ng": { "parent": "@thi.ng/geom", "related": [ "geom-isec", "geom-resample" ], "year": 2018 }, "gitHead": "828ec2e9ffde7307231b03cff46598c0915b1857\n" }