PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Initialize the necessary file and memory resources required by the ComPDF Conversion SDK.
The Node.js SDK initializes with its packaged internal resource directory when initialize() is called without arguments. You can still pass a custom resource path when needed.
release() after conversions complete so native SDK resources are freed.sdk.initialize();
// Or use an external resource directory.
sdk.initialize("/path/to/resource");