UNPKG

@thi.ng/text-canvas

Version:

Text based canvas, drawing, plotting, tables with arbitrary formatting (incl. ANSI/HTML)

154 lines (153 loc) 3.04 kB
{ "name": "@thi.ng/text-canvas", "version": "3.0.103", "description": "Text based canvas, drawing, plotting, tables with arbitrary formatting (incl. ANSI/HTML)", "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/text-canvas", "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/arrays": "^2.14.4", "@thi.ng/checks": "^3.8.1", "@thi.ng/errors": "^2.6.0", "@thi.ng/geom-clip-line": "^2.3.163", "@thi.ng/math": "^5.15.0", "@thi.ng/strings": "^3.9.32", "@thi.ng/text-format": "^2.2.51", "@thi.ng/transducers": "^9.6.20" }, "devDependencies": { "esbuild": "^0.27.0", "typedoc": "^0.28.14", "typescript": "^5.9.3" }, "keywords": [ "16bit", "24bit", "4bit", "8bit", "ansi", "area", "array", "ascii", "bar", "binary", "bitmap", "blit", "braille", "canvas", "circle", "clipping", "color", "datastructure", "dataviz", "drawing", "format", "image", "line", "plot", "rect", "rgb", "shape", "table", "text", "theme", "typescript", "visualization", "wordwrap" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./api": { "default": "./api.js" }, "./bars": { "default": "./bars.js" }, "./canvas": { "default": "./canvas.js" }, "./circle": { "default": "./circle.js" }, "./format": { "default": "./format.js" }, "./hvline": { "default": "./hvline.js" }, "./image": { "default": "./image.js" }, "./line": { "default": "./line.js" }, "./plot": { "default": "./plot.js" }, "./rect": { "default": "./rect.js" }, "./style": { "default": "./style.js" }, "./table": { "default": "./table.js" }, "./text": { "default": "./text.js" } }, "thi.ng": { "related": [ "text-format" ], "year": 2020 }, "gitHead": "e7a21b9d2a188fa04d4c893d8531c40fbc0f4c06\n" }