UNPKG

@thi.ng/rle-pack

Version:

Binary run-length encoding packer w/ flexible repeat bit widths and a naive RLE encoder/decoder for arrays of arbitrary typed values

93 lines (92 loc) 2.16 kB
{ "name": "@thi.ng/rle-pack", "version": "3.2.1", "description": "Binary run-length encoding packer w/ flexible repeat bit widths and a naive RLE encoder/decoder for arrays of arbitrary typed values", "type": "module", "module": "./index.js", "typings": "./index.d.ts", "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/thi-ng/umbrella.git", "directory": "packages/rle-pack" }, "homepage": "https://thi.ng/rle-pack", "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.14", "@thi.ng/bitstream": "^2.4.41", "@thi.ng/errors": "^2.6.3" }, "devDependencies": { "esbuild": "^0.27.2", "typedoc": "^0.28.16", "typescript": "^5.9.3" }, "keywords": [ "array", "binary", "compression", "packer", "rle", "typescript", "wordsize" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./binary": { "default": "./binary.js" }, "./simple": { "default": "./simple.js" } }, "thi.ng": { "alias": "rle", "related": [ "binary", "bitstream", "range-coder" ], "year": 2017 }, "gitHead": "3f0b151fb2283888314eb34206ba50c2dd5c7af6\n" }