renderdo
v1.0.0
Published
Renderdo client lirary
Maintainers
Readme
Renderdo
Convert URLs, HTML content, and any file type to PDF using the Renderdo client library
Installation
To install the library, run the following command:
npm install renderdoUsage
Here's an example of how to use the library:
const Renderdo = require("renderdo");
const client = new Renderdo("token-123");
const pdf = await client.convertURL("https://www.google.com/");API
convertURL(url: string): Promise<Buffer>
Converts the URL to pdf
convertHTML(html: string): Promise<Buffer>
Converts the HTML content to pdf
convertFile(file: Buffer): Promise<Buffer>
Converts the file to pdf
License
This library is licensed under the MIT License.
