updated information and hnage booler.js to booler

This commit is contained in:
Sambo Chea 2019-10-31 09:40:11 +07:00
parent 48bf503971
commit 7c8e9d81be
4 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@ Convert string/values to Boolean in JavaScript.
## Installing
```shell
$ npm i booler.js --save
$ npm i booler --save
```
## Example

View File

@ -1,7 +1,6 @@
/**
* @author Samob Chea <sombochea@cubetiqs.com>
*
* Import booler module.
* @author Samob Chea <sombochea@cubetiqs.com>
*/
const booler = require('./src/booler')

View File

@ -1,5 +1,5 @@
{
"name": "booler.js",
"name": "booler",
"version": "0.0.1",
"description": "Convert string to Boolean in JavaScript.",
"main": "index.js",
@ -11,9 +11,10 @@
"url": "git+https://github.com/SomboChea/booler.git"
},
"keywords": [
"Boolean",
"JavaScript",
"Converter"
"booler",
"boolean",
"js",
"converter"
],
"author": "Sambo Chea",
"license": "MIT",

View File

@ -1,8 +1,8 @@
/**
* @author Samob Chea <sombochea@cubetiqs.com>
*
* Booler can convert any value to Boolean.
* Booler can convert any value to Boolean type.
*
* @author Samob Chea <sombochea@cubetiqs.com>
* @param {*} val Value to parse.
*/
const booler = (val) => {