UNPKG

poly-math-2d

Version:

2D Polygon math: boolean operations, triangulation, graphs, support for holes and non-convex shapes.

47 lines 1.24 kB
{ "name": "poly-math-2d", "version": "0.2.0", "description": "2D Polygon math: boolean operations, triangulation, graphs, support for holes and non-convex shapes.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**/*", "README.md", "LICENSE" ], "scripts": { "build": "tsc", "prepublishOnly": "npm run build", "test": "node example.js" }, "keywords": [ "polygon", "math", "2d", "triangulation", "boolean", "geometry", "holes", "non-convex", "boolean operations", "earcut", "polygon clipping" ], "author": "Andrey Elfimov <eandrey813@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/andrewNicholson-bbi1911/poly-math-2d" }, "bugs": { "url": "https://github.com/andrewNicholson-bbi1911/poly-math-2d/issues" }, "homepage": "https://github.com/andrewNicholson-bbi1911/poly-math-2d#readme", "dependencies": { "earcut": "^2.2.4", "polygon-clipping": "^0.15.7" }, "devDependencies": { "typescript": "^5.4.5" } }