Fast and reliable feature management for the modern enterprise.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
With the LaunchDarkly API, you can easily create custom user experiences for
your application or website. You can use the API to segment your users based on
criteria such as location, device, or even custom attributes, and then change
the application experience for those segments in real-time.
Here are a few examples of what you can build with the LaunchDarkly API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
launchdarkly: {
type: "app",
app: "launchdarkly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.launchdarkly.com/api/v2/projects`,
headers: {
"authorization": `${this.launchdarkly.$auth.access_token}`,
},
})
},
})
// 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
},
})