Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ npm i @fastify/deepmerge

### Usage

The module exports a function, which provides a function to deepmerge Objects.
The module exports a function, which provides a function to deepmerge Objects.

```
deepmerge(options)
Expand Down Expand Up @@ -61,7 +61,7 @@ deepmerge: DeepMergeFn;
getKeys: (value: object) => string[];
```

The `mergeArray`-Function needs to return the actual Array merging function, which accepts two parameters of type
The `mergeArray`-Function needs to return the actual Array merging function, which accepts two parameters of type
Array, and returns a value.

Example 1: Replace the target-Array with a clone of the source-Array.
Expand Down Expand Up @@ -133,7 +133,7 @@ console.log(result) // { stream: <ref *1> WriteStream }

## Benchmarks

The benchmarks are available in the benchmark-folder.
The benchmarks are available in the benchmark-folder.

`npm run bench` - benchmark various use cases of deepmerge:
```
Expand Down