Skip to content
/ extend2 Public
forked from justmoon/node-extend

Simple function to extend objects

License

Notifications You must be signed in to change notification settings

eggjs/extend2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

extend2

Forked from node-extend, the difference is overriding array as primitive when deep clone.

NPM version Node.js CI Test coverage Known Vulnerabilities npm download

Usage

import { extend } from 'extend2';

// for deep clone
extend(true, {}, object1, objectN);

License

extend2 is licensed under the MIT License.

Acknowledgements

All credit to the jQuery authors for perfecting this amazing utility.

Ported to Node.js by Stefan Thomas with contributions by Jonathan Buchanan and Jordan Harband.

Contributors


ljharb


justmoon


jonmorehouse


popomore


greelgorke


andyburke


blaise-io


danbell


jamielinux


insin


madarche


Mithgol


fengmk2


2hu12

This project follows the git-contributor spec, auto updated at Sat Jun 15 2024 10:08:30 GMT+0800.

About

Simple function to extend objects

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 100.0%