Skip to content
This repository was archived by the owner on Aug 24, 2025. It is now read-only.

Commit 0bab5a9

Browse files
committed
Improved docs.
1 parent 901609a commit 0bab5a9

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Lightdash is a utility library aiming to complement [lodash](https://lodash.com/
1010

1111
## Usage
1212

13-
Installation:
13+
Install it:
1414

1515
```shell
1616
npm install lightdash
@@ -23,7 +23,3 @@ import { groupMapBy } from "lightdash";
2323

2424
groupMapBy([1, 2, 3, 4, 5], (val) => val % 2);
2525
```
26-
27-
## Contributing
28-
29-
Contributions are always welcome, no matter if you have a request, an idea, found a bug, or spotted a typo: Feel free to create a PR or open an issue!

src/array/countMapBy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { ArrayIterator } from "./lib/ArrayIterator.js";
33

44
/**
55
* Counts the values of an array into a map,
6-
* with the key being based on a key mapper and the value being the occurrences
6+
* with the key being based on a key mapper, and the value being the occurrences
77
* of the key mapper result in the initial array.
88
*
99
* @since 12.0.0

src/array/groupMapBy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { ArrayIterator } from "./lib/ArrayIterator.js";
33

44
/**
55
* Groups the elements of an array into a map,
6-
* with the key being based on a key mapper and the value being the values
6+
* with the key being based on a key mapper, and the value being the values
77
* for the same key mapper result.
88
*
99
* @since 6.1.0

src/array/groupMapReducingBy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { ArrayIterator } from "./lib/ArrayIterator.js";
22

33
/**
44
* Groups the elements of an array into a map,
5-
* with the key being based on a key mapper and the value being the values
5+
* with the key being based on a key mapper, and the value being the values
66
* for the same key mapper result being reduced.
77
*
88
* @since 11.0.0

src/array/pullFirst.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Removes the first occurrence of an element from an array.
3-
* If the element does not exist in the array nothing is done.
3+
* If the element does not exist in the array, nothing is done.
44
*
55
* Note that the input array is being mutated.
66
*

0 commit comments

Comments
 (0)