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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    4
  • 1.0.0
    24

Package Sidebar

Install

npm i tiny-merge

Weekly Downloads

16

Version

2.0.0

License

BSD-3-Clause

Unpacked Size

8.96 kB

Total Files

10

Last publish

Collaborators

  • avoidwork