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
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
flash_by_velora_ai: {
type: "app",
app: "flash_by_velora_ai",
}
},
async run({steps, $}) {
const data = {
"feedback": `Pipedream.com is a great platform for automations! Highly recommended.`,
}
return await axios($, {
method: "post",
url: `https://flash-api.velora.ai/v1/api/add-feedback`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.flash_by_velora_ai.$auth.api_key}`,
},
data,
})
},
})