Skip to content

Commit 2543b3c

Browse files
committed
updated README.md
1 parent 7e41352 commit 2543b3c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# group-objects-array
22

3-
Groups JavaScript objects array by a key and returns grouped array.
3+
[![NPM version](https://img.shields.io/npm/v/group-objects-array.svg)](https://www.npmjs.com/package/group-objects-array)
4+
[![NPM downloads](https://img.shields.io/npm/dm/group-objects-array.svg)](https://www.npmjs.com/package/group-objects-array)
5+
[![Known Vulnerabilities](https://snyk.io/test/github/grjan7/group-objects-array/badge.svg)](https://snyk.io/test/github/grjan7/group-objects-array)
46

5-
## Summary
7+
## Description
8+
9+
> Groups JavaScript objects array by a key and returns grouped array.
610
711
Groups the scattered objects in an array based on a `groupByKey` (e.g. id). For the given `groupByKey` value, if there is a multiple occurrence of same key (e.g., contact key for id: 3) but with unique values, then the values will be grouped into an array.
812

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
"bugs": {
2323
"url": "https://github.com/grjan7/group-objects-array/issues"
2424
}
25-
}
25+
}

0 commit comments

Comments
 (0)