Skip to content

Releases: naamanu/launch-lever

Added a util to check toggle status.

Choose a tag to compare

@naamanu naamanu released this 24 Mar 00:47

What's changed?

You can now import isON that returns true when the toggle status is "on" or false otherwise.

Usage

import { LaunchLever, isOn } from "launch-lever"

const toggles = new LaunchLever(your-toggle-list).flags
const pfx-123 = isOn(toggles.pfx-123) 

Initial release

Choose a tag to compare

@naamanu naamanu released this 19 Mar 21:42
fbd5b80

Initial release