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
Removes the background from the provided image using DeepImage. See the documentation
Upscales the provided image using Deep Image. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deepimage: {
type: "app",
app: "deepimage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://deep-image.ai/rest_api/me`,
headers: {
"content-type": `application/json`,
"x-api-key": `${this.deepimage.$auth.api_key}`,
},
})
},
})