The immediately productive, shareable cloud database. Bit.io is a zero-config, scalable cloud database with the social and community features of GitHub.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
bit.io is a modern database as a service platform that provides a straightforward way to share, manage, and collaborate on data sets. By leveraging the bit.io API on Pipedream, you can automate interactions with your databases, such as triggering queries in response to external events, syncing data between various applications, or maintaining your datasets with scheduled tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bit_io: {
type: "app",
app: "bit_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bit.io/api/v1beta/repos`,
headers: {
Authorization: `Bearer ${this.bit_io.$auth.api_key}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})