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 a new node is created in the Neo4j AuraDB instance.
Emit new event when a new relationship is created between nodes in the Neo4j AuraDB instance.
Creates a new node in the Neo4j AuraDB instance. See the documentation
Creates a relationship between two existing nodes. See the documentation
Executes a Cypher query against the Neo4j AuraDB instance. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
neo4j_auradb: {
type: "app",
app: "neo4j_auradb",
}
},
async run({steps, $}) {
const data = {
"statement": `RETURN date() AS currentDate, datetime() AS currentDateTime`,
}
return await axios($, {
method: "post",
url: `${this.neo4j_auradb.$auth.api_url}`,
auth: {
username: `${this.neo4j_auradb.$auth.username}`,
password: `${this.neo4j_auradb.$auth.password}`,
},
data,
})
},
})