Convert string to Boolean in JavaScript.
Go to file
Sambo Chea 6fe8e88d8d updated version and name 2019-10-31 09:45:34 +07:00
src updated version and name 2019-10-31 09:45:34 +07:00
test add booler function and exports 2019-10-31 09:03:22 +07:00
.gitignore Initial commit 2019-10-31 08:14:38 +07:00
index.js updated information and hnage booler.js to booler 2019-10-31 09:40:11 +07:00
LICENSE Initial commit 2019-10-31 08:14:38 +07:00
package-lock.json add booler function and exports 2019-10-31 09:03:22 +07:00
package.json updated version and name 2019-10-31 09:45:34 +07:00
README.md updated version and name 2019-10-31 09:45:34 +07:00

Booler: Convert any values to Boolean.

Convert string/values to Boolean in JavaScript.

Installing

$ npm i boolerjs --save

Example

const booler = require('boolerjs')

console.log(booler('f')) // return false
console.log(booler('t')) // return true

Run Test

$ npm run test

Contribution

if you any ideas or concepts, please kindly provide and support with us.

Author

Name: Sambo Chea
Email: sombochea@cubetiqs.com