New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@eggjs/extend2

Package Overview
Dependencies
Maintainers
10
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eggjs/extend2

Port of jQuery.extend for Node.js

Source
npmnpm
Version
5.0.2
Version published
Weekly downloads
491
-84.17%
Maintainers
10
Weekly downloads
 
Created
Source

@eggjs/extend2

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

NPM version Known Vulnerabilities npm download

Usage

import { extend } from '@eggjs/extend2';

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

License

@eggjs/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.

Keywords

clone

FAQs

Package last updated on 06 Oct 2026

Related posts