napi-rs/examples/napi
Hana 97746b79a9
feat(napi): support to use tuple with either (#1993)
`Either` uses `ValidateNapiValue` + `TypeName` to validate and report error on value not being matched. So there's no way to remove these super traits from it. So I implemented these types to `Tuple` types.
2024-03-13 13:29:06 +08:00
..
__tests__ feat(napi): support to use tuple with either (#1993) 2024-03-13 13:29:06 +08:00
browser refactor(cli): refactor js-binding to support easier bundling. (#1957) 2024-02-26 15:46:07 +08:00
electron-renderer refactor(cli): refactor js-binding to support easier bundling. (#1957) 2024-02-26 15:46:07 +08:00
src feat(napi): support to use tuple with either (#1993) 2024-03-13 13:29:06 +08:00
tests
.gitignore
browser.js
build.rs
Cargo.toml feat(napi): extends the Map types interoperability (#1950) 2024-02-15 15:43:21 +08:00
electron.cjs refactor(cli): refactor js-binding to support easier bundling. (#1957) 2024-02-26 15:46:07 +08:00
example.wasi-browser.js refactor(cli): refactor js-binding to support easier bundling. (#1957) 2024-02-26 15:46:07 +08:00
example.wasi.cjs refactor(cli): refactor js-binding to support easier bundling. (#1957) 2024-02-26 15:46:07 +08:00
index.cjs feat(napi): support to use tuple with either (#1993) 2024-03-13 13:29:06 +08:00
index.d.cts feat(napi): support to use tuple with either (#1993) 2024-03-13 13:29:06 +08:00
index.html feat: add wasm runtime package (#1904) 2024-01-16 23:28:40 +08:00
package.json refactor(cli): refactor js-binding to support easier bundling. (#1957) 2024-02-26 15:46:07 +08:00
tsconfig.json
vite-entry.js feat: add wasm runtime package (#1904) 2024-01-16 23:28:40 +08:00
vite.config.js feat: add wasm runtime package (#1904) 2024-01-16 23:28:40 +08:00
wasi-worker-browser.mjs fix(cli,wasm-runtime): dependencies (#1905) 2024-01-17 00:57:29 +08:00
wasi-worker.mjs fix(cli,wasm-runtime): dependencies (#1905) 2024-01-17 00:57:29 +08:00