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: {
infolobby: {
type: "app",
app: "infolobby",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://infolobby.com/api/users/me`,
headers: {
Authorization: `Bearer ${this.infolobby.$auth.oauth_access_token}`,
},
})
},
})