{"library":"vite-log-capture","type":"library","category":null,"description":"Vite plugin that captures console logs and HMR errors during development, allowing inspection and assertion of log output. Current stable version is 0.1.4 (released July 2024). Active development. Differentiators: integrates directly with Vite's HMR pipeline, captures both standard console logs and HMR-specific errors, and provides a simple API to retrieve captured logs for testing or debugging. Unlike generic log interceptors, it works seamlessly with Vite's dev server.","language":"javascript","status":"active","version":"0.1.4","tags":["javascript","vite","plugin","log","capture","console","hmr","vite-plugin","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-log-capture","imports":["import { captureLogs } from 'vite-log-capture'","import { getCapturedLogs } from 'vite-log-capture'","import { ViteLogCapture } from 'vite-log-capture'"]},{"cmd":"yarn add vite-log-capture","imports":[]},{"cmd":"pnpm add vite-log-capture","imports":[]}],"homepage":null,"github":"https://github.com/Posterior-AI/vite-log-capture","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-log-capture","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}