An open API service indexing awesome lists of open source software.

https://github.com/avoidwork/tiny-merge

Tiny merge library for Client or Server
https://github.com/avoidwork/tiny-merge

Last synced: 10 months ago
JSON representation

Tiny merge library for Client or Server

Awesome Lists containing this project

README

          

# tiny-merge

Easily merge Arrays or Objects on Client or Server.

## Example
```javascript
import {merge} from "tiny-merge";
const a = {},
b = {c: "Hello World"};

console.log(merge(a, b).c); // "Hello World"
console.log(a.c); // "Hello World"
```

## License
Copyright (c) 2022 Jason Mulligan
Licensed under the BSD-3 license