with npm and PDF4me?
Emit new event with the latest count of downloads for an npm package. See the documentation
Emit new event when a new version of an npm package is published. See the documentation
Convert a document (e.g., DOCX, XLSX, PPTX) to PDF. See the documentation
Merge multiple PDF files into a single PDF. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdf4me: {
type: "app",
app: "pdf4me",
}
},
async run({steps, $}) {
const data = {
"webUrl": `https://www.pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://api.pdf4me.com/api/v2/ConvertUrlToPdf`,
headers: {
"authorization": `${this.pdf4me.$auth.api_key}`,
},
data,
})
},
})