
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@browser-echo/core
Advanced tools
Core client-side functionality for streaming browser console logs to your dev terminal.
Core client-side functionality for streaming browser console logs to your dev terminal.
This package provides the initBrowserEcho function that patches console.* methods and forwards logs to a development server endpoint. It's designed to be used as a dependency by framework-specific providers.
console.log/info/warn/error/debugsendBeacon when available)(file:line:col) + stack tracespnpm add -D @browser-echo/core
import { initBrowserEcho } from '@browser-echo/core';
// Initialize with default options
initBrowserEcho();
// Or customize the behavior
initBrowserEcho({
route: '/__client-logs',
include: ['warn', 'error'],
preserveConsole: true,
tag: '[browser]',
batch: { size: 20, interval: 300 },
stackMode: 'condensed'
});
interface InitBrowserEchoOptions {
route?: `/${string}`; // default: '/__client-logs'
include?: BrowserLogLevel[]; // default: ['log','info','warn','error','debug']
preserveConsole?: boolean; // default: true (also keep logging in browser)
tag?: string; // default: '[browser]'
batch?: { size?: number; interval?: number }; // default: 20 / 300ms
stackMode?: 'full' | 'condensed' | 'none'; // default: 'condensed'
}
This core package is typically used through framework-specific providers:
See the main repository for complete setup guides.
MIT
FAQs
Core client-side functionality for streaming browser console logs to your dev terminal.
We found that @browser-echo/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.