Package Exports
- parseboolean
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (parseboolean) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.