Node SDK
allFlags
Evaluate every flag in the snapshot for one context.
Returns a map of flag key to value for every flag in the environment’s snapshot. Flags that fail to evaluate are left out. Before the first snapshot it returns an empty object.
allFlags(ctx: Context): Record<string, unknown>const values = flags.allFlags({ key: 'user-42', plan: 'pro' });The SDK is @rollkit/sdk in the repository (packages/sdk). It is for server-side Node; browsers use a client key with the delivery API.