@thi.ng/rasterize
Version:
Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)
130 lines • 3 kB
JSON
{
"name": "@thi.ng/rasterize",
"version": "1.0.161",
"description": "Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)",
"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/rasterize",
"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/checks": "^3.7.17",
"@thi.ng/equiv": "^2.1.91",
"@thi.ng/grid-iterators": "^4.0.133",
"@thi.ng/porter-duff": "^2.1.113",
"@thi.ng/random": "^4.1.26",
"@thi.ng/transducers": "^9.6.8"
},
"devDependencies": {
"esbuild": "^0.25.8",
"typedoc": "^0.28.9",
"typescript": "^5.9.2"
},
"keywords": [
"2d",
"bitmap",
"circle",
"clipping",
"drawing",
"floodfill",
"grid",
"iterator",
"line",
"pattern",
"pixel",
"polygon",
"polyline",
"rect",
"shader",
"shape",
"typescript"
],
"publishConfig": {
"access": "public"
},
"browser": {
"process": false,
"setTimeout": false
},
"engines": {
"node": ">=18"
},
"files": [
"./*.js",
"./*.d.ts"
],
"exports": {
".": {
"default": "./index.js"
},
"./api": {
"default": "./api.js"
},
"./checks": {
"default": "./checks.js"
},
"./circle": {
"default": "./circle.js"
},
"./flood-fill": {
"default": "./flood-fill.js"
},
"./line": {
"default": "./line.js"
},
"./poly": {
"default": "./poly.js"
},
"./polyline": {
"default": "./polyline.js"
},
"./rect": {
"default": "./rect.js"
},
"./shader": {
"default": "./shader.js"
}
},
"thi.ng": {
"related": [
"grid-iterators",
"pixel",
"text-canvas"
],
"status": "alpha",
"year": 2021
},
"gitHead": "f6ebc1302dc9211d588293aa0897173c6e54f4e5\n"
}