Skip to content
Shoal
Shoal
You’re reading the docs for an older version. v1.xGo to the latest docs →

Getting started

Introduction

Shoal v1 — feature toggles with user allow-lists. This version is in maintenance mode.

Shoal v1 provides boolean and string feature toggles, evaluated by polling the Shoal API. Users are targeted with allow-lists.

JavaScript
const Shoal = require("shoal-js");
const client = new Shoal(process.env.SHOAL_KEY, { refresh: 60 });

client.enabled("new-checkout", { id: "u_42" }).then((on) => { /* … */ });
Was this page helpful?

Type to search. Results come from a local index — nothing leaves your browser.

↑ ↓ to navigate↵ to openMiniSearch · local