tiny-merge
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

tiny-merge

Easily merge Arrays or Objects on Client or Server.

Example

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

Readme

Keywords

Package Sidebar

Install

npm i tiny-merge

Weekly Downloads

10

Version

2.0.0

License

BSD-3-Clause

Unpacked Size

8.96 kB

Total Files

10

Last publish

Collaborators

  • avoidwork