@3leaps/docprims
v0.1.4
Published
GPL-free document text extraction (TypeScript bindings via Node-API native addon)
Downloads
275
Readme
docprims (TypeScript bindings)
TypeScript/Node.js bindings for docprims using a Node-API (N-API) native addon (napi-rs).
Platform support (v0.1.x)
Supported:
- macOS: arm64
- Linux: glibc and musl (Alpine)
- Windows: x64 (msvc)
Local development
The native addon is built from Rust:
npm install
npm run build
npm run build:native
npm run test:ciAPI (minimal)
extractFile(path, options?)-> parsed v0 extract objectextractBytes(sourceUri, data, options?)-> parsed v0 extract object
The *Json variants return the raw JSON string.
