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: {
upstash_redis: {
type: "app",
app: "upstash_redis",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.upstash_redis.$auth.upstash_redis_rest_url}/set/foo/bar`,
headers: {
Authorization: `Bearer ${this.upstash_redis.$auth.uptash_redis_rest_token}`,
},
})
},
})