UNPKG

@thi.ng/malloc

Version:

ArrayBuffer based malloc() impl for hybrid JS/WASM use cases, based on thi.ng/tinyalloc

101 lines (100 loc) 2.27 kB
{ "name": "@thi.ng/malloc", "version": "6.1.149", "description": "ArrayBuffer based malloc() impl for hybrid JS/WASM use cases, based on thi.ng/tinyalloc", "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/malloc" }, "homepage": "https://thi.ng/malloc", "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": [ "Bnaya Peretz (https://github.com/Bnaya)" ], "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.27", "@thi.ng/binary": "^3.6.16", "@thi.ng/checks": "^3.10.1", "@thi.ng/errors": "^2.6.16" }, "devDependencies": { "esbuild": "^0.28.1", "typedoc": "^0.28.19", "typescript": "^6.0.3" }, "keywords": [ "acceleration", "align", "allocator", "array", "datastructure", "interop", "memory", "memory-mapped", "pool", "simd", "typedarray", "typescript", "wasm" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./api": { "default": "./api.js" }, "./native": { "default": "./native.js" }, "./pool": { "default": "./pool.js" } }, "thi.ng": { "alias": "m", "year": 2016 }, "gitHead": "febee81fd8b59e5e330a6e6521a2667ed5401a3d" }