1.0.0 • Published 10 years ago
to-boolean v1.0.0
to-boolean 
Convert strings to boolean.
Install
Via npm:
$ npm install to-boolean --saveVia Bower:
$ bower install to-boolean --saveUsage
var toBoolean = require('to-boolean');
toBoolean('y'); // true
toBoolean('no'); // false
toBoolean(''); // false
toBoolean(' '); // false
toBoolean('1'); // trueLicense
MIT © Rafael Rinaldi
1.0.0
10 years ago