parseboolean
v1.0.0
Published
The missing parseBool function we all secretly want
Downloads
307
Readme
parseBoolean
The missing parseBool function we all secretly want
Installing parseBoolean
Using npm
npm install --save parseboolean
Usage
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.