@thi.ng/geom-poly-utils
Version:
2D polygon/polyline analysis & processing utilities
122 lines (121 loc) • 2.65 kB
JSON
{
"name": "@thi.ng/geom-poly-utils",
"version": "3.1.10",
"description": "2D polygon/polyline analysis & processing utilities",
"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-poly-utils",
"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/errors": "^2.6.0",
"@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",
"area",
"bbox",
"centroid",
"circumcenter",
"geometry",
"perimeter",
"polygon",
"polyline",
"triangle",
"typescript"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
},
"files": [
"./*.js",
"./*.d.ts"
],
"exports": {
".": {
"default": "./index.js"
},
"./area": {
"default": "./area.js"
},
"./barycentric": {
"default": "./barycentric.js"
},
"./bounds": {
"default": "./bounds.js"
},
"./center-of-weight": {
"default": "./center-of-weight.js"
},
"./centroid": {
"default": "./centroid.js"
},
"./circumcenter": {
"default": "./circumcenter.js"
},
"./convexity": {
"default": "./convexity.js"
},
"./convolve": {
"default": "./convolve.js"
},
"./equilateral": {
"default": "./equilateral.js"
},
"./offset-convex": {
"default": "./offset-convex.js"
},
"./perimeter": {
"default": "./perimeter.js"
},
"./tangent": {
"default": "./tangent.js"
}
},
"thi.ng": {
"parent": "@thi.ng/geom",
"year": 2013
},
"gitHead": "e7a21b9d2a188fa04d4c893d8531c40fbc0f4c06\n"
}