We've built a simple console application that demonstrates how LaunchDarkly's SDK works. Below, you'll find the basic build procedure, but for more comprehensive instructions, you can visit your Quickstart page.
- Install the LaunchDarkly Node.js SDK by running
npm install - Copy your API key and feature flag key from your LaunchDarkly dashboard into
index.js - Run
node index.js