1.0.0 • Published 6 months ago

readlines-web v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

bugsplat-github-banner-basic-outline

BugSplat

Crash and error reporting built for busy developers.

readline-web

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.

Usage

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();

🐛 About

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.