extend
npmv3.0.2Port 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| extendthis page | 68.3M | 2 | MIT | 8 years ago |
| deepmerge | 0 | 5 | MIT | 1 day ago |
| type-fest | 337.8M | 6 | (MIT OR CC0-1.0) | 1 day ago |
| merge-descriptors | 113M | 1 | MIT | 1 day ago |
| @ungap/structured-clone | 75.6M | 2 | ISC | 1 day ago |
| rfdc | 46.8M | 3 | MIT | 1 day ago |
Dependencies
Declared by extend v3.0.2. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (5)
Used by
Popular packages that depend on extend.
Relationship graph
Dependencies (left) and dependents (right) of extend.
Frequently installed together
A stand-alone types package for Undici
An HTTP(s) proxy `http.Agent` implementation for HTTPS
A light-weight module that brings Fetch API to node.js
Fast, unopinionated, minimalist web framework
Node.js CORS middleware
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
TypeScript definitions for cors
Check if the process is running inside a Docker container
TypeScript definitions for node
RFC9562 UUIDs
The ultimate javascript content-type utility.
HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.
Release history
No releases in the last two years, typically about 206 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.0.2 | 8 years ago | 24 KB | MIT |
| 3.0.2latest | 8 years ago | 23 KB | MIT |
| 3.0.1 | 9 years ago | — | MIT |
| 3.0.0 | 11 years ago | — | MIT |
| 2.0.1 | 11 years ago | — | MIT |
| 2.0.0 | 12 years ago | — | MIT |
| 1.3.0 | 12 years ago | — | MIT |
| 1.2.1 | 13 years ago | — | MIT |
| 1.2.0 | 13 years ago | — | MIT |
| 1.1.3 | 13 years ago | — | MIT |
| 1.1.1 | 14 years ago | — | MIT |
| 1.1.0 | 14 years ago | — | MIT |
| 1.0.0 | 15 years ago | — | MIT |
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.
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.