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
Download the report for a specific project. See the documentation.
Get the status of a specific project. See the documentation.
Submit a new project for indexing. See the documentation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rapid_url_indexer: {
type: "app",
app: "rapid_url_indexer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rapidurlindexer.com/wp-json/api/v1/credits/balance`,
headers: {
"X-API-Key": `${this.rapid_url_indexer.$auth.api_key}`,
},
})
},
})