booly
Convert numerous value types to booleans
Last updated 12 years ago by scottcorgan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install booly 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.2                                ...           latest (12 years ago)

3 Versions

  • 1.0.2                                ...           12 years ago
  • 1.0.1                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 6
Today 0
This Week 3
This Month 6
Last Day 0
Last Week 3
Last Month 0
Dependencies (1)
Dev Dependencies (2)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE