somark-js
v0.1.0
Published
SoMark SDK + CLI — Document parsing, PDF processing, and SoMarkDown preview
Maintainers
Readme
somark-js
The official JavaScript/TypeScript SDK and CLI for SoMark.
This repository is the JavaScript/TypeScript implementation of the shared SoMark SDK + CLI contract. The Python implementation lives in somark-py. Same product, different runtime.
Install
npm install somark-jsDocumentation
Read the official documentation at docs.somark.tech/documentation.
The docs cover authentication, CLI usage, SDK examples, async tasks, local preview, PDF utilities, API parameters, and error handling. This README stays intentionally short so it does not become a second, worse documentation site.
Requirements
- Node.js 18+
- A SoMark API key for remote parsing and usage queries
- No API key required for local PDF utilities or SoMarkDown preview
- Docker/Ubuntu Python PDF rendering may require system libraries:
apt-get install -y --no-install-recommends libxcb1 libgl1 libglib2.0-0
License
Apache-2.0
