UNPKG

@thi.ng/geom-arc

Version:

2D circular / elliptic arc operations

105 lines (104 loc) 2.3 kB
{ "name": "@thi.ng/geom-arc", "version": "2.1.206", "description": "2D circular / elliptic arc operations", "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-arc", "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/checks": "^3.8.1", "@thi.ng/geom-resample": "^3.0.73", "@thi.ng/math": "^5.15.0", "@thi.ng/vectors": "^8.6.17" }, "devDependencies": { "esbuild": "^0.27.0", "typedoc": "^0.28.14", "typescript": "^5.9.3" }, "keywords": [ "2d", "arc", "bbox", "circle", "circumcenter", "clipping", "ellipse", "geometry", "interpolation", "sample", "shape", "svg", "typescript" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./bounds": { "default": "./bounds.js" }, "./closest-point": { "default": "./closest-point.js" }, "./from-endpoints": { "default": "./from-endpoints.js" }, "./point-at": { "default": "./point-at.js" }, "./sample": { "default": "./sample.js" } }, "thi.ng": { "alias": "arc", "parent": "@thi.ng/geom", "tag": "geometry", "year": 2018 }, "gitHead": "e7a21b9d2a188fa04d4c893d8531c40fbc0f4c06\n" }