A: Document Solutions for PDF JavaScript can be used in non-browser server environments such as Node.js through its WebAssembly-based API. To do so, you must apply a valid distribution license key before using the API:
DsPdfJS.LicenseKey = "your-distribution-license-key";
To use a distribution license key in a server environment, the key must be issued for non-browser.local. This is a predefined placeholder hostname used specifically for non-browser deployments. It cannot be self-registered through the My Licenses site and can only be obtained by specifically requesting it from Sales.
Distribution license keys issued for standard browser deployments are tied to a developer’s public domain or hostname and are not valid for non-browser environments. Likewise, a key issued for non-browser.local is intended only for server-side use and cannot be used in a browser.
For licensing, Unlimited and Team Unlimited licenses can be used for server deployments, since those license types allow deployment anywhere, including server environments. If you need to use Document Solutions for PDF JavaScript in both browser and server scenarios, separate distribution license keys are required for each deployment type.
Evaluation keys are also available for server environments. If a valid distribution license key is not applied, evaluation limitations will apply, such as watermarks and reduced document-processing limits.