{"repo":"melloware/react-logviewer","free":true,"listed":false,"github":"https://github.com/melloware/react-logviewer","clone":"git clone https://github.com/melloware/react-logviewer.git","description":"React LogViewer","language":"TypeScript","stars":166,"topics":["lazylogger","log","logviewer","react"],"license":"MPL-2.0","category":"ui-components","readme_excerpt":"React LogViewer React component that loads and views remote text in the browser lazily and efficiently. Logs can be loaded from static text, a URL, a WebSocket, or an EventSource and including ANSI highlighting. Originally forked from mozilla-frontend-infra/react-lazylog. If you like this project, please consider supporting me ❤️ Features - Efficient scrolling performance thanks to Virtua - Infinite scrolling thanks to Virtua - Able to load large files upwards of 100MB without crashing the browser - Parses, colorizes, and styles ANSI escapes within content - Supports remote text files as well as chunked/streamed responses - Line highlighting - Customizable styling - Searching through log - Works in latest browser versions, including iOS Safari and Android Chrome - TypeScript support - EventSource or WebSocket support Demo You can see a running demonstration at https://melloware.github.io/react-logviewer/ which is built from StoryBook. Installation Install the plugin with npm or yarn: Getting started The core component from react-logviewer is LazyLog . There is also a higher-order component (HOC) for following logs until scroll. This module can be required via ES imports, CommonJS require, or UMD. Usage After importing a component, it can be rendered with the required url prop: By default the LazyLog will expand to fill its container, so ensure this container has valid dimensions and layout. If you wish to have fixed dimensions, change the height and width props. If you are go","default_branch":null,"files":null,"tree":[],"storefront":"/r/melloware","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/melloware/react-logviewer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}