with npm and Docker Engine?
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
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docker_engine: {
type: "app",
app: "docker_engine",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.docker_engine.$auth.url}/v1.45/containers/json`,
headers: {
"X-Registry-Auth": `${this.docker_engine.$auth.registry_authorization}`,
},
})
},
})