UPDATE: Add node bindings

This commit is contained in:
Nicolás Hatcher
2025-01-23 22:43:45 +01:00
committed by Nicolás Hatcher Andrés
parent ec4e7b1ca3
commit 5d429b1660
48 changed files with 7362 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
[package]
edition = "2021"
name = "ironcalc_nodejs"
version = "0.3.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
# 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", "serde-json"] }
napi-derive = "2.12.2"
ironcalc = { path = "../../xlsx", version = "0.3.0" }
serde = { version = "1.0", features = ["derive"] }
[build-dependencies]
napi-build = "2.0.1"