@thi.ng/text-canvas
Version:
Text based canvas, drawing, plotting, tables with arbitrary formatting (incl. ANSI/HTML)
154 lines • 3.36 kB
JSON
{
"name": "@thi.ng/text-canvas",
"version": "3.0.64",
"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": "yarn npm publish --access public",
"test": "bun test",
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
},
"dependencies": {
"@thi.ng/api": "^8.11.25",
"@thi.ng/arrays": "^2.10.22",
"@thi.ng/checks": "^3.7.5",
"@thi.ng/errors": "^2.5.31",
"@thi.ng/geom-clip-line": "^2.3.130",
"@thi.ng/math": "^5.11.25",
"@thi.ng/strings": "^3.9.10",
"@thi.ng/text-format": "^2.2.30",
"@thi.ng/transducers": "^9.2.25"
},
"devDependencies": {
"esbuild": "^0.25.2",
"tslib": "^2.8.1",
"typedoc": "^0.28.1",
"typescript": "^5.8.2"
},
"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": "c88a589f33207b02a43172313b38ea09571265f1\n"
}