🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@eggjs/extend2

Package Overview
Dependencies
Maintainers
9
Versions
53
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-beta.7
Version published
Maintainers
9
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 31 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts