updated information and hnage booler.js to booler
This commit is contained in:
parent
48bf503971
commit
7c8e9d81be
@ -5,7 +5,7 @@ Convert string/values to Boolean in JavaScript.
|
||||
## Installing
|
||||
|
||||
```shell
|
||||
$ npm i booler.js --save
|
||||
$ npm i booler --save
|
||||
```
|
||||
|
||||
## Example
|
||||
|
3
index.js
3
index.js
@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @author Samob Chea <sombochea@cubetiqs.com>
|
||||
*
|
||||
* Import booler module.
|
||||
* @author Samob Chea <sombochea@cubetiqs.com>
|
||||
*/
|
||||
const booler = require('./src/booler')
|
||||
|
||||
|
@ -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",
|
||||
|
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user