npm

Node package manager

Integrate the npm API with the PicDefense API

Setup the npm API trigger to run a workflow which integrates with the PicDefense API. Pipedream's integration platform allows you to integrate npm and PicDefense remarkably fast. Free for developers.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Check Credits with PicDefense API on New Download Counts from npm API
npm + PicDefense
 
Try it
Check Image Risk with PicDefense API on New Download Counts from npm API
npm + PicDefense
 
Try it
Check Credits with PicDefense API on New Package Version from npm API
npm + PicDefense
 
Try it
Check Image Risk with PicDefense API on New Package Version from npm API
npm + PicDefense
 
Try it
New Download Counts from the npm API

Emit new event with the latest count of downloads for an npm package. See the documentation.

 
Try it
New Package Version from the npm API

Emit new event when a new version of an npm package is published. See the documentation

 
Try it
Check Credits with the PicDefense API

Check how many credits the associated account have. See the documentation

 
Try it
Check Image Risk with the PicDefense API

Check the risk of the image on the provided URL. See the documentation

 
Try it

Connect PicDefense

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    picdefense: {
      type: "app",
      app: "picdefense",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.picdefense.io/api/v2/credits`,
      headers: {
        "X-API-TOKEN": `${this.picdefense.$auth.user_id}:${this.picdefense.$auth.api_key}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo