booler/README.md

34 lines
485 B
Markdown
Raw Normal View History

2019-10-31 09:07:04 +07:00
# Booler: Convert any values to Boolean.
Convert string/values to Boolean in JavaScript.
2019-10-31 09:14:06 +07:00
## Installing
2019-10-31 09:07:04 +07:00
2019-10-31 09:14:06 +07:00
```shell
$ npm i booler --save
2019-10-31 09:14:06 +07:00
```
## Example
2019-10-31 09:07:04 +07:00
```js
const booler = require('booler')
console.log(booler('f')) // return false
console.log(booler('t')) // return true
```
2019-10-31 09:14:06 +07:00
## Run Test
2019-10-31 09:07:04 +07:00
```shell
$ npm run test
```
2019-10-31 09:14:06 +07:00
## Contribution
if you any ideas or concepts, please kindly provide and support with us.
### Author
Name: <b>Sambo Chea</b> <br/>
Email: sombochea@cubetiqs.com