document-svg 2.0.2 adds developer documentation and a way to try the viewer in your browser. The converter itself is unchanged.
Highlights:
- Developer reference in English, Japanese and Chinese: every function, option, default, result and error for the command line, Node.js, Python, Rust and the browser viewer, and how to show pages in a web page. On the site: https://ryusui-hiro.github.io/document-svg/reference.html — and in the repository as
docs/API.md. - Try it in your browser: https://ryusui-hiro.github.io/document-svg/viewer/ converts PDF, Word, Excel and PowerPoint files with WebAssembly on your own device. Nothing is uploaded.
- The Node.js preview guides shipped in the npm package are rewritten as a step-by-step walkthrough.
Install:
- npm:
npm install document-svg— https://www.npmjs.com/package/document-svg - PyPI:
python -m pip install document-svg— https://pypi.org/project/document-svg/ - crates.io:
cargo install document-svg --locked— https://crates.io/crates/document-svg - Or download the
docsvgcommand for your system below.
All assets were built and tested from commit e1284f0e5d1ce25328185524a129bc6a79f8b584. Verify downloads with SHA256SUMS and release-manifest.json.