Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

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

Install

npm i booly

DownloadsWeekly Downloads

27

Version

1.0.2

License

MIT

Last publish

Collaborators

  • avatar