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
Emit new event when an announcement is published.
Emit new event when an announcement is scheduled.
Emit new event when a new project subscription is created.
Generates a draft announcement for the LaunchNotes project. See the documentation
Adds a new subscriber to the current LaunchNotes project. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
launchnotes: {
type: "app",
app: "launchnotes",
}
},
async run({steps, $}) {
const data = {
"query": `query { viewer { id email name }}`,
}
return await axios($, {
method: "post",
url: `https://app.launchnotes.io/graphql`,
headers: {
Authorization: `Bearer ${this.launchnotes.$auth.api_key}`,
},
data,
})
},
})