with npm and Pencil Spaces?
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: {
pencil_spaces: {
type: "app",
app: "pencil_spaces",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.pencil_spaces.$auth.api_url}users`,
headers: {
Authorization: `Bearer ${this.pencil_spaces.$auth.api_key}`,
},
})
},
})