readlines-web
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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.

/readlines-web/

    Package Sidebar

    Install

    npm i readlines-web

    Weekly Downloads

    7

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    8.41 kB

    Total Files

    10

    Last publish

    Collaborators

    • bugsplat