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
Create a new record in the Pro Ledger platform. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pro_ledger: {
type: "app",
app: "pro_ledger",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pro-ledger.com/api/v1/auth/check_api_key`,
headers: {
"X-API-Key": `${this.pro_ledger.$auth.api_key}`,
},
})
},
})