@thi.ng/wasm-api-bindgen
Version:
Polyglot bindings code generators (TS/JS, Zig, C11) for hybrid WebAssembly projects
134 lines (133 loc) • 3.06 kB
JSON
{
"name": "@thi.ng/wasm-api-bindgen",
"version": "1.2.83",
"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": "git+https://codeberg.org/thi.ng/umbrella.git",
"directory": "packages/wasm-api-bindgen"
},
"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": "npm publish --access public",
"test": "bun test",
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
},
"dependencies": {
"@thi.ng/api": "^8.12.27",
"@thi.ng/args": "^3.2.26",
"@thi.ng/arrays": "^2.14.25",
"@thi.ng/binary": "^3.6.16",
"@thi.ng/checks": "^3.11.0",
"@thi.ng/compare": "^2.5.15",
"@thi.ng/defmulti": "^3.0.104",
"@thi.ng/errors": "^2.6.16",
"@thi.ng/file-io": "^2.3.2",
"@thi.ng/logger": "^3.3.10",
"@thi.ng/paths": "^5.2.47",
"@thi.ng/strings": "^3.12.9",
"@thi.ng/wasm-api": "^2.5.1"
},
"devDependencies": {
"@types/node": "^25.9.4",
"esbuild": "^0.28.1",
"typedoc": "^0.28.19",
"typescript": "^6.0.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": "fc5518f2823fb81e712b66ec018c8c819c0a506d"
}