@thi.ng/leb128
Version:
WASM based LEB128 encoder / decoder (signed & unsigned)
89 lines • 2.21 kB
JSON
{
"name": "@thi.ng/leb128",
"version": "3.1.46",
"description": "WASM based LEB128 encoder / decoder (signed & unsigned)",
"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/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": "yarn npm publish --access public",
"test": "bun test",
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
},
"dependencies": {
"@thi.ng/checks": "^3.7.5",
"@thi.ng/errors": "^2.5.31",
"@thi.ng/transducers-binary": "^2.1.160"
},
"devDependencies": {
"esbuild": "^0.25.2",
"typedoc": "^0.28.1",
"typescript": "^5.8.2"
},
"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": "87aa2d0e64a357476c10fd57aabdfded13c79f7d\n"
}