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
- Host: GitHub
- URL: https://github.com/avoidwork/tiny-merge
- Owner: avoidwork
- License: bsd-3-clause
- Created: 2015-12-28T15:06:15.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-10-05T23:50:50.000Z (over 3 years ago)
- Last Synced: 2024-04-24T08:26:47.376Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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