Socket
Socket
Sign inDemoInstall

renderdo

Package Overview
Dependencies
10
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    renderdo

Renderdo client lirary


Version published
Weekly downloads
1
Maintainers
1
Install size
0.989 MB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 25 Dec 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc