Skip to content
PluginStats

@builder.io/vite-plugin-jsx-loc weekly downloads statistics

By builder.io (3 listings) · npm · Vite plugins

A Vite plugin that adds location data attributes to JSX elements

View on npm Fresh · Dec 6, 2026

@builder.io/vite-plugin-jsx-loc has 411,574 recorded weekly downloads on npm, an increase of 30.2% over the past 30 days, ranking #427 of 3,247 tracked listings.

Weekly downloads
411,574
Official API · Dec 5, 2026
7-day growth
+11.7%
+43K weekly downloads
30-day growth
+30.2%
+95.4K weekly downloads
90-day growth
-29.2%
-169.8K weekly downloads
Rank
#427
▼ 4 in 7 days

About @builder.io/vite-plugin-jsx-loc

vite-plugin-jsx-loc

A Vite plugin that adds location data attributes to JSX elements for debugging and development purposes.

Installation

npm install @builder.io/vite-plugin-jsx-loc
# or
yarn add @builder.io/vite-plugin-jsx-loc
# or
pnpm add @builder.io/vite-plugin-jsx-loc

Usage

Add the plugin to your vite.config.ts:

import { defineConfig } from 'vite';
import { jsxLocPlugin } from '@builder.io/vite-plugin-jsx-loc';

export default defineConfig({
  plugins: [jsxLocPlugin()],
});

This will add a data-loc attribute to all JSX elements in your code, containing the relative file path and line number where the element is defined. For example:

// Input: src/components/Button.tsx
export function Button() {
  return <button>Click me</button>;
}

// Output (during development):
export function Button() {
  return <button data-loc="src/components/Button.tsx:2">Click me</button>;
}

Features

  • Adds source location information to JSX elements
  • Works with both .jsx and .tsx files
  • Skips processing of node_modules
  • Preserves source maps
  • Minimal performance impact
  • No configuration required

License

MIT

Description from the npm listing.

  • vite-plugin
  • jsx
  • debug
  • development

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

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

Adoption over time

@builder.io/vite-plugin-jsx-loc weekly downloads on npm, last 90 days: 411,574 weekly downloads as of Dec 5, 2026, -29.2% over 90 days.@builder.io/vite-plugin-jsx-locWeekly downloads on npm · Last 90 days411,574downloads / week-29.2% over 90 days0100K200K300K400K500KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@builder.io/vite-plugin-jsx-loc weekly downloads on npm, last 90 days: 411,574 weekly downloads as of Dec 5, 2026, -29.2% over 90 days.

7/30/90-day growth

@builder.io/vite-plugin-jsx-loc weekly downloads growth on npm: +11.7% over 7 days, +30.2% over 30 days, -29.2% over 90 days.@builder.io/vite-plugin-jsx-locWeekly downloads growth on npm411,574downloads / week now7-day growth+43,001 weekly downloads+11.7%30-day growth+95,357 weekly downloads+30.2%90-day growth-169,780 weekly downloads-29.2%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@builder.io/vite-plugin-jsx-loc weekly downloads growth on npm: +11.7% over 7 days, +30.2% over 30 days, -29.2% over 90 days.

Ranking history

@builder.io/vite-plugin-jsx-loc npm ranking history: currently #427 (by weekly downloads).@builder.io/vite-plugin-jsx-locnpm ranking · by weekly downloads · Last 90 days#427current rank#410#420#430#440#450#460#470Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@builder.io/vite-plugin-jsx-loc npm ranking history: currently #427 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 22, #7 (overall #427)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins300 listings · 15 pages · page 4, #1 (overall #61)
Vite plugins: every listing in weekly downloads order

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.

Each band is one page of 20. Weekly downloads on a linear 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.

Recent observations

Full history (170)
Recent weekly downloads observations for @builder.io/vite-plugin-jsx-loc
Date (UTC)Weekly downloadsChange vs. previous
411,574+5.2K
406,327+9.2K
397,120+6.4K
390,752+5.6K
385,125+3.8K
381,281+5.8K
375,459+6.9K
368,573+6.3K
362,253+5.6K
356,630+3.7K
352,914+1.8K
351,142+8.8K
342,342-3.6K
345,926—

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/@builder.io/vite-plugin-jsx-loc. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.