Add a Node.js wrapper library

The implementation is very similar to the Python wrapper.
This commit is contained in:
Oliver Hamlet
2025-04-22 19:22:31 +01:00
parent cb4686b0b9
commit 5a33e16eb3
12 changed files with 4504 additions and 1183 deletions
+3
View File
@@ -7,6 +7,9 @@ version = "0.0.0"
crate-type = ["cdylib"]
[dependencies]
libloot = { path = ".." }
libloot-ffi-errors = { path = "../ffi-errors" }
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.12.2", default-features = false, features = ["napi4"] }
napi-derive = "2.12.2"