UNPKG

@thi.ng/wasm-api-bindgen

Version:

Polyglot bindings code generators (TS/JS, Zig, C11) for hybrid WebAssembly projects

132 lines 3.25 kB
{ "name": "@thi.ng/wasm-api-bindgen", "version": "1.2.15", "description": "Polyglot bindings code generators (TS/JS, Zig, C11) for hybrid WebAssembly projects", "type": "module", "module": "./index.js", "typings": "./index.d.ts", "bin": "bin/wasm-api-bindgen", "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/thi-ng/umbrella.git" }, "homepage": "https://thi.ng/wasm-api-bindgen", "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", "doc:readme-types": "npx wasm-api-bindgen --lang ts -o export/api.ts --lang zig -o export/api.zig export/readme-types.json", "pub": "yarn npm publish --access public", "test": "bun test", "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts" }, "dependencies": { "@thi.ng/api": "^8.11.29", "@thi.ng/args": "^2.3.71", "@thi.ng/arrays": "^2.13.0", "@thi.ng/binary": "^3.4.52", "@thi.ng/checks": "^3.7.9", "@thi.ng/compare": "^2.4.21", "@thi.ng/defmulti": "^3.0.69", "@thi.ng/errors": "^2.5.35", "@thi.ng/file-io": "^2.1.38", "@thi.ng/logger": "^3.1.10", "@thi.ng/paths": "^5.2.12", "@thi.ng/strings": "^3.9.15", "@thi.ng/wasm-api": "^2.3.21" }, "devDependencies": { "@types/node": "^22.15.21", "esbuild": "^0.25.5", "typedoc": "^0.28.5", "typescript": "^5.8.3" }, "keywords": [ "bindings", "c", "cli", "codegen", "interop", "json", "memory", "polyglot", "schema", "shared-memory", "string", "tool", "typescript", "wasm", "zig" ], "publishConfig": { "access": "public" }, "browser": { "process": false, "setTimeout": false }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts", "bin", "include", "schema", "zig/*.zig", "internal" ], "exports": { ".": { "default": "./index.js" }, "./api": { "default": "./api.js" }, "./c11": { "default": "./c11.js" }, "./codegen": { "default": "./codegen.js" }, "./typescript": { "default": "./typescript.js" }, "./zig": { "default": "./zig.js" } }, "thi.ng": { "parent": "@thi.ng/wasm-api", "related": [ "wasm-api-canvas", "wasm-api-dom", "wasm-api-schedule", "wasm-api-webgl" ], "tag": "wasm", "year": 2022 }, "gitHead": "b076434a497b291ad33e81b1a15f6a71e2c82cc2\n" }