Skip to content

The missing parseBool function we all secretly want

License

Notifications You must be signed in to change notification settings

active9/parseBoolean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The missing parseBool function we all secretly want

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published