Skip to content

Improve Node.js API and refactor configuration#4

Open
sabraman wants to merge 4 commits into
westrik:mainfrom
sabraman:feat/improve-node-api
Open

Improve Node.js API and refactor configuration#4
sabraman wants to merge 4 commits into
westrik:mainfrom
sabraman:feat/improve-node-api

Conversation

@sabraman
Copy link
Copy Markdown

@sabraman sabraman commented Mar 12, 2026

Improve Node.js API and refactor configuration

This pull request enhances the Node.js API with detailed statistics and improved configuration options.

Changes

  • Added statistics to the conversion result (character count, line count, conversion/rendering timing).
  • Introduced configurable page sizes and margins.
  • Refactored MdpdfConfig for better extensibility.
  • Properly typed the NAPI results and options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant