add readme and example

This commit is contained in:
Sambo Chea 2019-10-31 09:07:04 +07:00
parent 09239c704c
commit 8be683772a

View File

@ -1,2 +1,20 @@
# booler # Booler: Convert any values to Boolean.
Convert string to Boolean in JavaScript.
Convert string/values to Boolean in JavaScript.
# Installing
# Example
```js
const booler = require('booler')
console.log(booler('f')) // return false
console.log(booler('t')) // return true
```
# Run Test
```shell
$ npm run test
```