Comparing version
{ | ||
"name": "gutil", | ||
"description": "GUtil", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "licenses": [ |
@@ -6,7 +6,7 @@ gutil | ||
- get : Get object or sub-object attribute value : | ||
- **get** : Get object or sub-object attribute value : | ||
```js | ||
get( {o1:{o2:{o3:{a:1}}}}, "o1.o2.o3.a") // => 1 | ||
``` | ||
- has : Return true if array values or object values has this attribute value : | ||
- **has** : Return true if array values or object values has this attribute value : | ||
```js | ||
@@ -24,3 +24,3 @@ // array | ||
``` | ||
- by : Select values from an array or an object if they have the attribute value. | ||
- **by** : Select values from an array or an object if they have the attribute value. | ||
```js | ||
@@ -38,3 +38,3 @@ // array | ||
``` | ||
- byNot : Select values from an array or an object if they do not have the attribute value : | ||
- **byNot** : Select values from an array or an object if they do not have the attribute value : | ||
```js | ||
@@ -53,19 +53,3 @@ // array | ||
``` | ||
- add : insert value in an array | ||
- all | ||
- and | ||
- Assert | ||
- concat | ||
- each | ||
- filter | ||
- log | ||
- oneBy | ||
- requireReload | ||
- sort : sort array elements | ||
- unique | ||
- walk | ||
- string : utils functions for String | ||
- replace2 : scan only one time the text and replace many txt occurences during this scan | ||
- **replace2** : scan only one time the text and replace many txt occurences during this scan | ||
sample : | ||
@@ -80,2 +64,16 @@ ```js | ||
// txt == "hello world"; | ||
``` | ||
``` | ||
- **add** : insert value in an array | ||
- **all** | ||
- **and** | ||
- **Assert** | ||
- **concat** | ||
- **each** | ||
- **filter** | ||
- **log** | ||
- **oneBy** | ||
- **requireReload** | ||
- **sort** : sort array elements | ||
- **unique** | ||
- **walk** | ||
- **string** : utils functions for String |
41427
0.17%74
-2.63%