Type-safe values
Boolean, string, number, JSON, and generic return types.
Developer tools
Typed JavaScript and React SDKs for flags, detailed evaluations, experiments, and survey delivery—with a small API surface and predictable fallbacks.
npm install @fujiflag/jsnpm install @fujiflag/reactimport { createFujiFlagClient } from
'@fujiflag/js';
const client = createFujiFlagClient({
apiKey: 'ff-pk-your-key',
cacheTTL: 5 * 60 * 1000,
});
const checkout = await client.getFlagValue<boolean>(
'new-checkout'
);Designed for the code path
Use a value-only API in ordinary UI code, then switch to detailed evaluation where analytics or debugging needs the decision metadata.
Boolean, string, number, JSON, and generic return types.
Choose a cache TTL that fits the sensitivity of each application.
Refresh flags on an interval without wiring a second state system.
Public evaluation keys cannot mutate workspace configuration.
Choose your integration
JavaScript SDK
A framework-agnostic client for browser, Node.js, ES modules, CommonJS, and script tags.
React SDK
A provider and focused hooks that keep evaluation state natural inside React applications.
Start small. Ship safely.
Create a free workspace, copy the environment read key, and add FujiFlag to an existing JavaScript or React application.
No credit card required.