UNPKG

@thi.ng/leb128

Version:

WASM based LEB128 encoder / decoder (signed & unsigned)

90 lines (89 loc) 2.07 kB
{ "name": "@thi.ng/leb128", "version": "3.1.89", "description": "WASM based LEB128 encoder / decoder (signed & unsigned)", "type": "module", "module": "./index.js", "typings": "./index.d.ts", "sideEffects": false, "repository": { "type": "git", "url": "git+https://codeberg.org/thi.ng/umbrella.git", "directory": "packages/leb128" }, "homepage": "https://thi.ng/binary", "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)", "contributors": [ "jtenner (https://github.com/jtenner)" ], "license": "Apache-2.0", "scripts": { "build": "yarn build:esbuild && yarn build:decl", "build:binary": "tools/build-binary.sh", "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": "zig build test && bun test", "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts" }, "dependencies": { "@thi.ng/checks": "^3.9.4", "@thi.ng/errors": "^2.6.13" }, "devDependencies": { "esbuild": "^0.28.0", "typedoc": "^0.28.19", "typescript": "^6.0.3" }, "keywords": [ "64bit", "bigint", "binary", "conversion", "integer", "interop", "typedarray", "typescript", "varint", "wasm", "zig" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts", "zig/*.zig" ], "exports": { ".": { "default": "./index.js" } }, "thi.ng": { "alias": "leb", "year": 2019 }, "gitHead": "b302822c51b2ab255f8f27f8dd010433d95f29df" }