vite-plugin-agent-tail weekly downloads statistics
By gillkyle · npm · Vite plugins
Vite plugin for agent-tail — pipes browser console logs to files on disk during development.
vite-plugin-agent-tail has 6,595 recorded weekly downloads on npm, a decrease of 43.9% over the past 30 days, ranking #1068 of 2,322 tracked listings.
About vite-plugin-agent-tail
vite-plugin-agent-tail
Vite plugin for agent-tail — captures browser console.log, console.warn, console.error, unhandled errors, and unhandled promise rejections to log files on disk during development.
Tip: Install the umbrella
agent-tailpackage to get the CLI, Vite plugin, and Next.js plugin in one install:npm install -D agent-tail
Install
npm install -D agent-tail
Setup
// vite.config.ts
import { defineConfig } from "vite"
import { agentTail } from "agent-tail/vite"
export default defineConfig({
plugins: [agentTail()],
})
Then in another terminal:
tail -f tmp/logs/latest/browser.log
# or
agent-tail tail browser -f
How it works
The plugin injects a small script into your HTML that intercepts console methods, batches the output, and sends it to the dev server via sendBeacon. Logs are written to a timestamped session directory with a latest symlink for easy access.
Pair with the CLI
Use both the plugin and the CLI to get browser console logs and server output in one place:
agent-tail run 'fe: npm run dev' 'api: uvicorn main:app'
Docs
Full documentation and configuration options at agent-tail.vercel.app
License
MIT
Description from the npm listing.
- vite
- vite-plugin
- browser-logs
- console
- logging
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (543)Similar npm Vite plugins plugins
All 20 vite-plugin-agent-tail alternativesData 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/vite-plugin-agent-tail. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.