Skip to content
PluginStats

dom-to-code weekly downloads statistics

By better-tcy · npm · Webpack plugins

navigate to the code through the dom

View on npm Fresh · Oct 17, 2026

dom-to-code has 16 recorded weekly downloads on npm, a decrease of 80.5% over the past 30 days.

It ranks #1866 of 2,256 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -50.0%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
16
Official API · Oct 17, 2026
7-day growth
0.0%
0 weekly downloads
30-day growth
-80.5%
-66 weekly downloads
90-day growth
-50.0%
-16 weekly downloads
Rank
#1866
Among tracked npm listings

About dom-to-code

DOM TO CODE

简体中文 | English

开发效率神器,点击 dom 直接跳到编辑器对应代码。

支持 vite/webpack + vue2/vue3/react + vscode/webstorm

✨ 介绍

接手一个项目开发网页时要修改某部分,要么靠搜索,要么靠记忆找到对应代码,过程极为浪费时间。

在项目里用了 dom-to-code 插件后,对准想要修改的 dom 部分 ctrl + 按下鼠标滚轮,就会在编辑器打开对应的 dom 元素源码。

(使用 mac 触摸板的用户可以ctrl + 触摸板右键)

支持 vite/webpack + vue2/vue3/react

支持 vscode/webstorm

别人搜索你直接跳,别人加班你摸鱼。

📦 安装

🔨 使用

配置选项

第一步

首先在项目入口文件(比如 index 文件或 main 文件)中引入插件初始化

第二步

配置打包器,dom-to-code 支持 vite 和 webpack 打包器,以下是 vite 、vue-cli、webpack 里的示例(推荐只在非生产环境配置)

Vite

Example: playgrounds/vite-vue3

Webpack

Vue CLI

Example: playgrounds/webpack5-vue2

Create-react-app + react-app-rewired

Example: playgrounds/webpack5-react

📚 文档

查看 文档指南 📒(即将上线...)

💡 注意

如果无法跳转编辑器,请确保你的编辑器已经添加到环境变量,比如 vscode,添加成功后在命令终端输入

可以看到 vscode 版本信息意味着成功。

🤖️ Contributing

Learn about contribution here.

This project exists thanks to all the people who contribute:

📄 License

MIT License © 2022-PRESENT tuocangyu

Description from the npm listing.

  • dom
  • code
  • inspector
  • vite
  • vite-plugin
  • webpack
  • webpack-plugin
  • vue
  • react

Where dom-to-code sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,256 listings · 113 pages · page 94, #7 (overall #1867)
All npm: every listing in weekly downloads order
PNG SVG
Webpack plugins247 listings · 13 pages · page 9, #12 (overall #172)
Webpack plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

dom-to-code weekly downloads on npm, last 90 days: 16 weekly downloads as of Oct 17, 2026, -50.0% over 90 days.dom-to-codeWeekly downloads on npm · Last 90 days16downloads / week-50.0% over 90 days020406080100120140160Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
dom-to-code weekly downloads on npm, last 90 days: 16 weekly downloads as of Oct 17, 2026, -50.0% over 90 days.
PNG SVG

7/30/90-day growth

dom-to-code weekly downloads growth on npm: 0.0% over 7 days, -80.5% over 30 days, -50.0% over 90 days.dom-to-codeWeekly downloads growth on npm16downloads / week now7-day growth+0 weekly downloads0.0%30-day growth-66 weekly downloads-80.5%90-day growth-16 weekly downloads-50.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
dom-to-code weekly downloads growth on npm: 0.0% over 7 days, -80.5% over 30 days, -50.0% over 90 days.
PNG SVG

Ranking history

dom-to-code npm ranking history: currently #1866 (by weekly downloads).dom-to-codenpm ranking · by weekly downloads · Last 90 days#1866current rank#1858#1860#1862#1864#1866#1868Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
dom-to-code npm ranking history: currently #1866 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for dom-to-code
Date (UTC)Weekly downloadsChange vs. previous
16-3
19+1
18-2
20-6
260
26+9
17+1
160
16+1
15-2
17+2
15-7
22-5
27—

Similar npm Webpack plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/dom-to-code. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.