@kodexa-ai/document-wasm-ts) brings high-performance document processing to JavaScript environments. Powered by WebAssembly, it works in both Node.js and modern browsers while delivering near-native performance.
Requirements
- Node.js
- Browser
- Node.js 16 or higher
- npm or yarn package manager
Installation
Install from npm:Setup
- Node.js
- Browser
Node.js setup is straightforward:
Verify Installation
Test your setup:Core Concepts
Initialization
Unlike the Python SDK, the TypeScript SDK requires explicit initialization:Async API
All document operations are asynchronous:Memory Management
Configuration
WASM Location
In browser environments, configure the WASM file location:Logging
Control the logging level:What’s Next?
Getting Started
Learn the basics of creating and manipulating documents
API Reference
Explore the complete API documentation
