Skip to content
JS
Package

lodash.defaults

The lodash method `_.defaults` exported as a module.

v4.2.0, 13 Aug 2016MIT-Types: NoneUtility libraries
$ npm install lodash.defaults

Key numbers

As of 25 Sept 2026
Weekly downloads
22.6m
+91% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
10 years ago
v4.2.0
GitHub stars
61.3k
7.2k forks
Open issues / PRs
54 / 51
Contributors
268
Commits, last 52 weeks
44

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 31.5m (25 Aug 2026)Low 8.5m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

22,644,917 downloads last week, 113,213,583 in the last month. The 12-month change of +91% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
015 in total
Latest version
4.2.0, 13 Aug 201610 years ago
First published
23 Sept 2013
Last push to GitHub
11 Sept 202613 days before the snapshot
Repository archived
No
Open issues
54
Open pull requests
51
Commits, last 52 weeks
44
Dependents on npm
786

Major versions

  1. v4 first release 4.0.0, 13 Jan 2016
  2. v3 first release 3.0.0, 26 Jan 2015
  3. v2 first release 2.0.0, 23 Sept 2013

Recent releases

VersionPublished
4.2.013 Aug 2016
4.1.025 Jul 2016
4.0.13 Feb 2016
4.0.013 Jan 2016
3.1.230 Jun 2015
3.1.116 Apr 2015
3.1.025 Mar 2015
3.0.026 Jan 2015
2.4.13 Dec 2013
2.4.026 Nov 2013
2.3.011 Nov 2013
2.2.13 Oct 2013
2.2.029 Sept 2013
2.1.023 Sept 2013
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install lodash.defaults
  • jsDelivrhttps://cdn.jsdelivr.net/npm/lodash.defaults@4.2.0/
  • unpkghttps://unpkg.com/lodash.defaults@4.2.0/
  • esm.shhttps://esm.sh/lodash.defaults@4.2.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.