Skip to content
PluginStats

@web-remarq/unplugin weekly downloads statistics

By web-remarq · npm · Webpack plugins

Unplugin for web-remarq source location injection (Vite/webpack/Rollup/esbuild/Rspack)

View on npm Fresh · Dec 6, 2026

@web-remarq/unplugin has 34 recorded weekly downloads on npm, a decrease of 2.9% over the past 30 days, ranking #2867 of 3,247 tracked listings.

Weekly downloads
34
Official API · Dec 5, 2026
7-day growth
-52.8%
-38 weekly downloads
30-day growth
-2.9%
-1 weekly downloads
90-day growth
-78.5%
-124 weekly downloads
Rank
#2867
▼ 310 in 7 days

About @web-remarq/unplugin

@web-remarq/unplugin

Universal build plugin that injects source location attributes into JSX and Vue template elements for web-remarq.

Works with Vite, webpack, Rollup, esbuild, and Rspack. Supports JSX/TSX and Vue SFC templates.

Install

npm install -D @web-remarq/unplugin

Setup

Vite
// vite.config.js
import remarq from '@web-remarq/unplugin/vite'

export default {
  plugins: [remarq()]
}
webpack
// webpack.config.js
const remarq = require('@web-remarq/unplugin/webpack').default

module.exports = {
  plugins: [remarq()]
}
Rollup
// rollup.config.js
import remarq from '@web-remarq/unplugin/rollup'

export default {
  plugins: [remarq()]
}
esbuild
import remarq from '@web-remarq/unplugin/esbuild'
import { build } from 'esbuild'

build({
  plugins: [remarq()]
})
Rspack
// rspack.config.js
const remarq = require('@web-remarq/unplugin/rspack').default

module.exports = {
  plugins: [remarq()]
}
Widget auto-injection (Vite dev, optional)
plugins: [remarq({ widget: true })]

Injects the widget into index.html in vite dev, in simple mode with HttpStorageAdapter (the plugin already serves the local MCP token), so no WebRemarq.init is needed. Marks go to the agent through the local MCP server (npx @web-remarq/mcp), disappear from the page once delivered, and the toolbar shows an "In work" counter. web-remarq must be installed in the project; if it cannot be resolved the plugin logs one warning and injects nothing. Pass an object to tune it: widget: { simple: false, position: 'bottom-left', theme: 'dark' }.

Never injected in production builds, and it does not apply to SSR frameworks (SPA index.html only, e.g. Vue and React Vite apps). Default is off, so an existing manual init keeps working.

The dev server serves { projectId, token, port? } at /__web-remarq/config.json from .remarq/config.json. port is the running MCP server's port from .remarq/server.lock (else port from the config), so a server started with REMARQ_PORT is found without extra setup. The config is looked up from the Vite root up to the git root, never above it; outside a git repository only the Vite root itself is checked.

What it does

Transforms this:

function LoginForm() {
  return <button className="submit">Log in</button>
}

Into this:

function LoginForm() {
  return <button className="submit"
    data-remarq-source="src/components/LoginForm.tsx:3:9"
    data-remarq-component="LoginForm">Log in</button>
}

Paths are relative to the directory that holds .remarq/config.json (where the agent works), else the git root, else the current directory, so in a monorepo they match the agent's working directory rather than the app package.

Vue SFC templates are also transformed:

<template>
  <div class="wrapper">
    <button>Save</button>
  </div>
</template>

Becomes:

<template>
  <div class="wrapper"
    data-remarq-source="src/components/SavePanel.vue:2:4"
    data-remarq-component="SavePanel">
    <button
      data-remarq-source="src/components/SavePanel.vue:3:8"
      data-remarq-component="SavePanel">Save</button>
  </div>
</template>

Options

OptionTypeDefaultDescription
includestring[]['**/*.jsx', '**/*.tsx', '**/*.vue']Glob patterns for files to transform
excludestring[]['node_modules/**']Glob patterns to skip
productionbooleanfalseEnable in production builds
widgetboolean | { simple?, position?, theme? }falseVite dev only: inject the widget (simple mode, local MCP server)
remarq({
  include: ['src/**/*.tsx', 'src/**/*.vue'],
  exclude: ['node_modules/**', '**/*.test.*'],
  production: false,
})

Security note: production: true exposes source file paths in the DOM. Use only for internal/staging environments.

JSX/TSX

Uses @babel/parser for AST-based transformation. Handles TypeScript, decorators, and all JSX patterns. Component name is detected from the nearest function/class declaration.

Vue SFC

Parses <template> blocks and injects attributes on HTML elements. Vue built-in tags (template, slot, component, transition, keep-alive, teleport, suspense) are skipped. Component name is derived from the filename.

How it differs from @web-remarq/babel-plugin

@web-remarq/babel-plugin@web-remarq/unplugin
Use whenProject uses BabelProject uses Vite/SWC/esbuild without Babel
BundlersBabel onlyVite, webpack, Rollup, esbuild, Rspack
JSXYesYes
Vue SFCNoYes
ParsingBabel AST (native)@babel/parser (bundled)

If your project already uses Babel, prefer @web-remarq/babel-plugin — it's lighter and integrates natively.

License

MIT

Description from the npm listing.

  • unplugin
  • vite-plugin
  • webpack-plugin
  • rollup-plugin
  • web-remarq
  • source-location
  • annotation

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

@web-remarq/unplugin weekly downloads on npm, last 90 days: 34 weekly downloads as of Dec 5, 2026, -78.5% over 90 days.@web-remarq/unpluginWeekly downloads on npm · Last 90 days34downloads / week-78.5% over 90 days050100150200250Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@web-remarq/unplugin weekly downloads on npm, last 90 days: 34 weekly downloads as of Dec 5, 2026, -78.5% over 90 days.

7/30/90-day growth

@web-remarq/unplugin weekly downloads growth on npm: -52.8% over 7 days, -2.9% over 30 days, -78.5% over 90 days.@web-remarq/unpluginWeekly downloads growth on npm34downloads / week now7-day growth-38 weekly downloads-52.8%30-day growth-1 weekly downloads-2.9%90-day growth-124 weekly downloads-78.5%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@web-remarq/unplugin weekly downloads growth on npm: -52.8% over 7 days, -2.9% over 30 days, -78.5% over 90 days.

Ranking history

@web-remarq/unplugin npm ranking history: currently #2867 (by weekly downloads).@web-remarq/unpluginnpm ranking · by weekly downloads · Last 90 days#2867current rank#2000#2200#2400#2600#2800#3000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 23 observations · Updated Dec 5, 2026pluginstats.com
@web-remarq/unplugin npm ranking history: currently #2867 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 144, #9 (overall #2,869)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 14, #5 (overall #265)
Webpack 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 @web-remarq/unplugin
Date (UTC)Weekly downloadsChange vs. previous
34+13
21-5
26+4
22+3
19-11
30-27
57-15
72-165
237+4
2330
233+1
232+11
221+28
193—

Similar npm Webpack plugins plugins

All 20 @web-remarq/unplugin alternatives

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/@web-remarq/unplugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.