API Reference / @evolu/common / Console

Console

📝 Cross-Platform Console

Console abstraction for Chrome 123+, Firefox 125+, Safari 18.1+, Node.js 22.x+, and React Native 0.75+. Includes methods guaranteed to be available in these environments and expected to remain compatible in future versions. Output formatting may vary (e.g., interactive UI in browsers vs. text in Node.js/React Native), but functionality is consistent across platforms.

Warning: If you encounter platform-specific issues or missing methods, please contribute a PR with details about the environment and behavior.

Interfaces

InterfaceDescription
ConsoleCross-platform Console interface for Chrome 123+, Firefox 125+, Safari 18.1+, Node.js 22.x+, and React Native 0.75+
ConsoleConfig-
ConsoleDepDependency interface for injecting a Console instance.

Functions

FunctionDescription
createConsoleCreates a console instance using the global console.

Was this page helpful?