with npm and Documenterra?
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
Exports an existing publication to a user-selected format. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    documenterra: {
      type: "app",
      app: "documenterra",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `${this.documenterra.$auth.portal_url}/api/v1/users`,
      auth: {
        username: `${this.documenterra.$auth.email}`,
        password: `${this.documenterra.$auth.api_key}`,
      },
    })
  },
})