Node package manager
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
Takes a screenshot of a webpage using Screenshot.fyi. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
screenshot_fyi: {
type: "app",
app: "screenshot_fyi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://screenshot.fyi/api/take`,
params: {
url: `https://pipedream.com`,
accessKey: `${this.screenshot_fyi.$auth.access_key}`,
},
})
},
})