feature-flags-toolkit
v1.0.1
Published
Universal feature flag manager for frontend and backend apps
Maintainers
Readme
Feature Flags Toolkit
A lightweight, type-safe, framework-agnostic feature flag library for managing feature toggles in both backend and frontend environments. Supports static file-based loading or remote fetch/save via user-defined callbacks — no internal state or storage dependencies.
✨ Features
- ✅ Type-safe feature flag structure with environment & context support
- ✅ Local static file-based loader/saver
- ✅ Remote loader/saver via user-defined callbacks
- ✅ Pure function-based — no internal state
- ✅ Suitable for multi-instance systems and shared flag infrastructure
- ✅ Written in TypeScript
- ✅ Tested with Vitest
📦 Installation
npm install feature-flag-toolkit