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
Generates a shortened URL utilizing L2S capabilities. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
l2s: {
type: "app",
app: "l2s",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.l2s.is/user/setting`,
headers: {
Authorization: `Bearer ${this.l2s.$auth.api_key}`,
},
})
},
})