Installation
Flagify provides SDKs for JavaScript/TypeScript and React. Choose the package that matches your stack.
Node.js / TypeScript
npm install @flagify/node
Or with yarn:
yarn add @flagify/node
React
npm install @flagify/react
The React SDK includes the Node.js SDK as a dependency, so you only need to install one package.
Requirements
| Runtime | Minimum Version |
|---|---|
| Node.js | 18.0+ |
| TypeScript | 5.0+ (optional) |
| React | 18.0+ (for React SDK) |
Verify installation
After installing, verify the SDK is accessible:
import { Flagify } from '@flagify/node';
const client = new Flagify({
projectKey: 'my-project',
publicKey: process.env.FLAGIFY_PUBLIC_KEY!,
});
console.log('Flagify SDK initialized');
Next steps
- Quick Start — evaluate your first feature flag
- JavaScript SDK reference — full SDK documentation
- CLI — manage flags from the terminal