A nifty little library for reading files line-by-line using ReadableStreams and is compatible in both node.js and the browser. Inspired by this post on MDN.
Install this package locally.
npm i readline-web
Import makeTextFileLineIterator
and create an iterator.
import { makeTextFileLineIterator } from 'readlines-web';
You can process each line in a loop.
for await (let line of iterator) {
console.log(line);
}
Or process a single line using next()
.
const { value, done } = await iterator.next();
BugSplat is a software crash and error reporting service with support for macOS, iOS, Qt, Unreal Engine and many more. BugSplat automatically captures critical diagnostic data such as stack traces, log files, and other runtime information. BugSplat also provides automated incident notifications, a convenient dashboard for monitoring trends and prioritizing engineering efforts, and integrations with popular development tools to maximize productivity and ship more profitable software.