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 ## Installing
```shell ```shell
$ npm i booler.js --save $ npm i booler --save
``` ```
## Example ## Example

View File

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

View File

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

View File

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