with npm and ipstack?
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: {
ipstack: {
type: "app",
app: "ipstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://api.ipstack.com/8.8.8.8`,
params: {
access_key: `${this.ipstack.$auth.access_key}`,
},
})
},
})