@flagsync/js-sdk
v0.4.0
Published
FlagSync SDK for JavaScript
Downloads
185
Readme
FlagSync SDK for JavaScript
At FlagSync, we believe the power of feature flags and A/B testing should be accessible to everyone, regardless of business size or budget.
That's why we developed an affordable, user-friendly platform that delivers the core functionality needed by indie hackers and growing businesses, without unnecessary complexity. Get started using FlagSync today!
Compatibility
This SDK is an isomorphic library capable of running on Node.js and web browsers. However, it is meant for single-user contexts in browser environments, such as mobile or desktop web applications.
Compatible with Node.js 16+ and ES5.
Note on Node.js
While this SDK is stable in Node.js 16+, this is to support uncommon, one-off cases where you may need to initialize feature flags for a single user server-side.
For server-side applications, including SSR web applications, we strongly recommend using the Node.js SDK.
Installation
# npm
npm install @flagsync/js-sdk
# yarn
yarn add @flagsync/js-sdk
# pnpm
pnpm add @flagsync/js-sdk
Getting Started
Refer to the SDK documentation for more information on how to use this library.
React
This SDK is not framework-specific and is intended to be used in browser environments. For React applications, we provide a separate React SDK that integrates better with the React ecosystem.