Remove wasm binding

With napi v3 we can compile our javascript binding to wasm, which can
reduce a lot of maintenance overhead and complexity
This commit is contained in:
Diego Reis
2025-07-28 11:41:00 -03:00
parent 016c84ed7d
commit 98bec9868b
54 changed files with 2826 additions and 7292 deletions

View File

@@ -6,19 +6,24 @@
"url": "https://github.com/tursodatabase/turso"
},
"description": "The Turso database library",
"main": "wrapper.js",
"files": [
"wrapper.js",
"browser.js"
],
"types": "index.d.ts",
"napi": {
"binaryName": "turso",
"targets": [
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"universal-apple-darwin"
"universal-apple-darwin",
"wasm32-wasip1-threads"
]
},
"license": "MIT",
"devDependencies": {
"@napi-rs/cli": "^3.0.4",
"@napi-rs/wasm-runtime": "^1.0.1",
"ava": "^6.0.1",
"better-sqlite3": "^11.9.1"
},