1.0.1 • Published 4 months ago

deep-merge-utils v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

deep-merge

深度合并对象

Installation

npm install deep-merge-utils

Usage

import { merge } from 'deep-merge-utils';

const config = merge(
  { database: { host: 'localhost' } },
  { database: { port: 5432 } }
);

// 结果: { database: { host: 'localhost', port: 5432 } }
1.0.1

4 months ago

1.0.0

4 months ago