Skip to content

Overview

Most teams do not know how many direct LaunchDarkly SDK calls are in their codebase, which ones are safe to migrate, or which ones will silently break if migrated naively. FlagLint answers all three questions before you touch a line of code.

Terminal window
npx flaglint audit ./src
✓ Audit complete: 13 flags — 3 high risk, 10 medium risk

No API key. No source upload. LaunchDarkly stays your provider — OpenFeature becomes the evaluation API your application calls.

  • Performs local AST-based source analysis.
  • Detects supported LaunchDarkly Node.js server-side evaluation calls from @launchdarkly/node-server-sdk and legacy launchdarkly-node-server-sdk.
  • Generates inventory reports and reviewable migration plans.
  • Applies only call-site rewrites with proven static inputs and a proven OpenFeature client binding.
  • Emits validation SARIF with rule id flaglint.direct-launchdarkly.
  • It does not replace LaunchDarkly. LaunchDarkly remains the provider.
  • It does not generate provider/bootstrap files automatically.
  • It does not query LaunchDarkly for flag age, owner, evaluation history, environment configuration, or production usage.
  • It does not detect browser SDKs, React SDKs, non-Node SDKs, or non-LaunchDarkly providers.