Skip to content
JS
Package

merge-refs

A function that merges React refs into one.

v2.0.0, 20 Mar 2025MITESM onlyTypes: BundledReact
$ npm install merge-refs

Key numbers

As of 25 Sept 2026
Weekly downloads
4.8m
+199% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v2.0.0
GitHub stars
116
1 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
42

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 6.5m (18 Aug 2026)Low 1.2m (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.

4,799,363 downloads last week, 23,471,095 in the last month. The 12-month change of +199% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
010 in total
Latest version
2.0.0, 20 Mar 20251 year ago
First published
14 Feb 2020
Last push to GitHub
9 Sept 202615 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
42
Dependents on npm
121

Major versions

  1. v2 first release 2.0.0, 20 Mar 2025
  2. v1 first release 1.0.0, 14 Feb 2020

Recent releases

VersionPublished
2.0.020 Mar 2025
1.3.030 Apr 2024
1.2.218 Oct 2023
1.2.129 May 2023
1.2.029 May 2023
1.1.331 Mar 2023
1.1.22 Feb 2023
1.1.130 Jan 2023
1.1.09 Jan 2023
1.0.014 Feb 2020
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
8.1 kB
Dependencies (0)
None
Peer dependencies (1)
@types/react
npm install merge-refs
  • jsDelivrhttps://cdn.jsdelivr.net/npm/merge-refs@2.0.0/
  • unpkghttps://unpkg.com/merge-refs@2.0.0/
  • esm.shhttps://esm.sh/merge-refs@2.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.