1.0.0 • Published 7 years ago
parseboolean v1.0.0
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.
1.0.0
7 years ago