$ npm install force-bool
Parse environment variable to a boolean
import forceBool from 'force-bool' const nodeEnv = forceBool('SOME_FEATURE') // => true if 'true', false if 'false' or not set