Skip to content

Compatibility

RequirementMinimum
Node.js>= 18
TypeScript>= 5.3
Tauri APIv2.x

Module formats

All packages are built in two formats:

  • ESM (import) — dist/index.js
  • CJS (require) — dist/index.cjs

Sourcemaps are enabled for both formats.

TypeScript

Type declarations (dist/index.d.ts, dist/index.d.cts) are generated automatically.

exports in package.json are configured with the typesimportrequire conditions, which ensures types are resolved correctly in any bundler/runtime.

Released under the MIT License.