with npm and Parma?
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
Searches for an existing relationship in Parma. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    parma: {
      type: "app",
      app: "parma",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.parma.ai/api/v1/users/me`,
      headers: {
        Authorization: `Bearer ${this.parma.$auth.oauth_access_token}`,
        "Content-Type": `application/json`,
        "Accept": `application/json`,
      },
    })
  },
})