booly

1.0.2 • Public • Published

booly

Convert numerous value types to booleans

Install

npm install booly --save

Usage

var booly = require('booly');
 
console.log(booly(1)) // true
console.log(booly('true')) // true
 
console.log(booly('false')) // false
 
console.log(booly('some string')) // some string

Run Tests

npm install
npm test

Package Sidebar

Install

npm i booly

Weekly Downloads

47

Version

1.0.2

License

MIT

Last publish

Collaborators

  • scottcorgan