This example connects the Featurevisor JavaScript SDK to the flags package in a Next.js application. It supports flags, variations, and variables through a small adapter in src/featurevisor.ts.
npm ciStart the development server:
npm run devOpen http://localhost:3000.
npm run lint
npm run typecheck
npm run buildThe adapter can create its own Featurevisor instance or receive an existing one through the instance option.