The missing parseBool function we all secretly want
Using npm
npm install --save parseboolean
Using parseBool is simple. Just require it and use it as if it was a function.
var parseBool = require('parseboolean');
console.log(parseBool('true')); // Outputs true
See the tests folder for an in-depth look at the true/false logic parseBool uses.