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
Initializes a new parcel order within Deftship. See the documentation
Initializes a new parcel order within Deftship. See the documentation
Checks pricing for Insurance based on the supplied information. Also automatically creates an insurance and returns the pricing. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deftship: {
type: "app",
app: "deftship",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.deftship.$auth.environment}/balance`,
headers: {
Authorization: `Bearer ${this.deftship.$auth.api_token}`,
},
})
},
})