npm

Node package manager

Integrate the npm API with the HTML 2 PDF API

Setup the npm API trigger to run a workflow which integrates with the HTML 2 PDF API. Pipedream's integration platform allows you to integrate npm and HTML 2 PDF remarkably fast. Free for developers.

Generate PDF with HTML 2 PDF API on npm Download Counts from npm API
npm + HTML 2 PDF
 
Try it
Generate PDF with HTML 2 PDF API on New Package Version from npm API
npm + HTML 2 PDF
 
Try it
New Download Counts from the npm API

Emit new event with the latest count of downloads for an npm package. See the documentation.

 
Try it
New Package Version from the npm API

Emit new event when a new version of an npm package is published. See the documentation

 
Try it
Generate PDF with the HTML 2 PDF API

Creates a PDF from a URL or HTML string. See the documentation

 
Try it

Overview of HTML 2 PDF

The HTML 2 PDF API allows you to convert HTML documents to PDFs. In Pipedream, you can integrate this API into workflows to automate document generation tasks. This can be incredibly useful for generating reports, invoices, or any other document where you start with HTML and need a PDF output. You can trigger these conversions with various events – like a new form submission, a scheduled trigger, or even updates in a database.

Connect HTML 2 PDF

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    html_2_pdf: {
      type: "app",
      app: "html_2_pdf",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.html2pdf.co.uk/`,
      params: {
        license: `${this.html_2_pdf.$auth.license_key}`,
        url: `https://example.com`,
      },
    })
  },
})