I help companies with creating better web applications. Certified Level 3 Personal trainer, nutrition geek and biohacker, trained barista and (very) amateur photographer.
Location
London
Work
Principal JavaScript Developer and Team Lead - Director @ Finiteloop
Here's how I do it in TypeScript, using flags in the environment:
Usage:
Nice one, I'm just not a fan of env vars for feature flags but if they work for you, they simplify the code!