renderdo
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Renderdo

npm version

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 renderdo

Usage

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.

Package Sidebar

Install

npm i renderdo

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.51 kB

Total Files

4

Last publish

Collaborators

  • imedadel