bindings: a C ABI and an npm package alongside the wheel

This commit is contained in:
funkpower
2026-09-19 18:40:08 -04:00
parent cf126dddc3
commit 48600bd90c
16 changed files with 1221 additions and 10 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"name": "catena",
"version": "@VERSION@",
"description": "Turn a pile of files into a searchable corpus: chunking, scrubbing, subtitles and rank fusion, as WebAssembly",
"license": "MPL-2.0",
"homepage": "https://git.pumpin.online/funkpower/catena",
"repository": {
"type": "git",
"url": "git+https://git.pumpin.online/funkpower/catena.git"
},
"keywords": ["chunking", "markdown", "subtitles", "retrieval", "corpus", "tokens", "wasm"],
"type": "module",
"types": "./web/catena.d.ts",
"exports": {
".": {
"node": { "types": "./node/catena.d.cts", "default": "./node/catena.cjs" },
"default": { "types": "./web/catena.d.ts", "default": "./web/catena.js" }
},
"./node": { "types": "./node/catena.d.cts", "default": "./node/catena.cjs" },
"./web": { "types": "./web/catena.d.ts", "default": "./web/catena.js" },
"./node/*": "./node/*",
"./web/*": "./web/*",
"./package.json": "./package.json"
},
"files": ["node/", "web/", "README.md", "LICENSE"]
}