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
Emit new event when a new item is created or an existing one is updated.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airfocus: {
type: "app",
app: "airfocus",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.airfocus.com/api/fields/types`,
headers: {
Authorization: `Bearer ${this.airfocus.$auth.api_key}`,
"user-agent": `pipedream/1`,
},
})
},
})