UNPKG

@thi.ng/pixel-dither

Version:

Extensible image dithering w/ various algorithm presets

118 lines 2.75 kB
{ "name": "@thi.ng/pixel-dither", "version": "1.1.165", "description": "Extensible image dithering w/ various algorithm presets", "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/pixel-dither", "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/checks": "^3.7.6", "@thi.ng/math": "^5.11.26", "@thi.ng/pixel": "^7.4.4" }, "devDependencies": { "esbuild": "^0.25.2", "typedoc": "^0.28.2", "typescript": "^5.8.3" }, "keywords": [ "1bit", "2bit", "4bit", "8bit", "dither", "kernel", "pixel", "typescript" ], "publishConfig": { "access": "public" }, "browser": { "process": false, "setTimeout": false }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./api": { "default": "./api.js" }, "./atkinson": { "default": "./atkinson.js" }, "./burkes": { "default": "./burkes.js" }, "./diffusion": { "default": "./diffusion.js" }, "./dither": { "default": "./dither.js" }, "./floyd-steinberg": { "default": "./floyd-steinberg.js" }, "./jarvis": { "default": "./jarvis.js" }, "./ordered": { "default": "./ordered.js" }, "./sierra2": { "default": "./sierra2.js" }, "./stucki": { "default": "./stucki.js" }, "./threshold": { "default": "./threshold.js" } }, "thi.ng": { "parent": "@thi.ng/pixel", "year": 2021 }, "gitHead": "c464b6948f92cba90c2ea75b59203dad894fb450\n" }