</>PackageGraphPackageGraph

extend

npmv3.0.2

Port of jQuery.extend for node.js and the browser

Not recommended for new projects

No — extend should not be adopted for new projects. Last published 2974 days ago.

  • AAdoption: grade A, Excellent.

    68.3M downloads per week and 2 known dependents.

  • FMaintenance: grade F, Failing.

    Last published 2974 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 23 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding extend to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

23 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the extend README.

var extend = require('extend');
extend(targetObject, object1, object2);

extend vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
extendthis page68.3M2MIT8 years ago
deepmerge05MIT1 day ago
type-fest337.8M6(MIT OR CC0-1.0)1 day ago
merge-descriptors113M1MIT1 day ago
@ungap/structured-clone75.6M2ISC1 day ago
rfdc46.8M3MIT1 day ago

Dependencies

Declared by extend v3.0.2. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (5)

@ljharb/eslint-config ^12.2.1covert ^1.1.0eslint ^4.19.1jscs ^3.0.7tape ^4.9.1

Used by

Popular packages that depend on extend.

Relationship graph

Dependencies (left) and dependents (right) of extend.

requestgaxiosextend
extend dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 206 days apart.

Recent versions of extend
VersionPublishedSizeLicense
2.0.28 years ago24 KBMIT
3.0.2latest8 years ago23 KBMIT
3.0.19 years agoMIT
3.0.011 years agoMIT
2.0.111 years agoMIT
2.0.012 years agoMIT
1.3.012 years agoMIT
1.2.113 years agoMIT
1.2.013 years agoMIT
1.1.313 years agoMIT
1.1.114 years agoMIT
1.1.014 years agoMIT
1.0.015 years agoMIT

Overview

extend is an npm package that port of jQuery.extend for node.js and the browser. It is extremely widely used, with about 68.3M downloads per week and 2 known dependents in the graph. The latest version is 3.0.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need port of jQuery.extend for node.js and the browser and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (68.3M weekly downloads).
  • Clear open-source license (MIT).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use extend?

No — extend should not be adopted for new projects. Last published 2974 days ago.

How do I install extend?

Run `npm install extend` to add extend to your npm project.

What license is extend released under?

extend is distributed under the MIT license.

How popular is extend?

extend has approximately 68,314,937 downloads per week and 2 known dependent packages.

Is extend still maintained?

The most recent release of extend (v3.0.2) was published 8 years ago.

Does extend run install scripts?

No. extend does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.