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
Initiates the creation of a new task in Offlight. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
offlight: {
type: "app",
app: "offlight",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.offlight.work/auth/check`,
headers: {
"x-api-key": `${this.offlight.$auth.api_token}`,
},
})
},
})