Skip to content
JS
Package

dom-element-to-component-source

A library to retrieve the source location of DOM elements in React applications

v0.5.0, 1 Feb 2026MITESM + CommonJSTypes: BundledReactStatic site generators and meta-frameworks
$ npm install dom-element-to-component-source

Key numbers

As of 25 Sept 2026
Weekly downloads
1.2k
+3772% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
7 months ago
v0.5.0
GitHub stars
4
1 forks
Open issues / PRs
0 / 1
Contributors
-
Commits, last 52 weeks
51

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3kSept 2025Mar 2026Sept 2026High 2.1k (8 Sept 2026)Low 0 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,220 downloads last week, 5,416 in the last month. The 12-month change of +3772% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.5.0, 1 Feb 20267 months ago
First published
-
Last push to GitHub
1 Feb 2026235 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
51
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=16.0.0
Runtimes
-
Unpacked size (npm)
420 kB
Dependencies (3)
source-mapstacktrace-gpserror-stack-parser
npm install dom-element-to-component-source
  • jsDelivrhttps://cdn.jsdelivr.net/npm/dom-element-to-component-source@0.5.0/
  • unpkghttps://unpkg.com/dom-element-to-component-source@0.5.0/
  • esm.shhttps://esm.sh/dom-element-to-component-source@0.5.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1220 < 10000.