{"id":25591366,"url":"https://github.com/BugSplat-Git/readlines-web","last_synced_at":"2026-04-12T11:30:19.054Z","repository":{"id":205142128,"uuid":"713519281","full_name":"bobbyg603/readlines-web","owner":"bobbyg603","description":"Read files line-by-line using ReadableStreams","archived":false,"fork":false,"pushed_at":"2023-11-02T17:28:04.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-15T09:12:30.512Z","etag":null,"topics":["nodejs","readable","readable-stream","readline","streams","web"],"latest_commit_sha":null,"homepage":"https://bugsplat.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bobbyg603.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-02T17:24:37.000Z","updated_at":"2024-03-04T23:34:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1386113-20e0-4cba-a207-7cbec456afb2","html_url":"https://github.com/bobbyg603/readlines-web","commit_stats":null,"previous_names":["bobbyg603/readlines-web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobbyg603%2Freadlines-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobbyg603%2Freadlines-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobbyg603%2Freadlines-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobbyg603%2Freadlines-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bobbyg603","download_url":"https://codeload.github.com/bobbyg603/readlines-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239993959,"owners_count":19730779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nodejs","readable","readable-stream","readline","streams","web"],"created_at":"2025-02-21T09:51:12.528Z","updated_at":"2026-04-12T11:30:19.003Z","avatar_url":"https://github.com/bobbyg603.png","language":"TypeScript","readme":"[![bugsplat-github-banner-basic-outline](https://user-images.githubusercontent.com/20464226/149019306-3186103c-5315-4dad-a499-4fd1df408475.png)](https://bugsplat.com)\n\u003cbr/\u003e\n# \u003cdiv align=\"center\"\u003eBugSplat\u003c/div\u003e \n### **\u003cdiv align=\"center\"\u003eCrash and error reporting built for busy developers.\u003c/div\u003e**\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://twitter.com/BugSplatCo\"\u003e\n        \u003cimg alt=\"Follow @bugsplatco on Twitter\" src=\"https://img.shields.io/twitter/follow/bugsplatco?label=Follow%20BugSplat\u0026style=social\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://discord.gg/bugsplat\"\u003e\n        \u003cimg alt=\"Join BugSplat on Discord\" src=\"https://img.shields.io/discord/664965194799251487?label=Join%20Discord\u0026logo=Discord\u0026style=social\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n# readline-web\n\nA 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](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/read#example_2_-_handling_text_line_by_line).\n\n## Usage\n\nInstall this package locally.\n\n```sh\nnpm i readline-web\n```\n\nImport `makeTextFileLineIterator` and create an iterator.\n\n```ts\nimport { makeTextFileLineIterator } from 'readlines-web';\n```\n\nYou can process each line in a loop.\n\n```ts\nfor await (let line of iterator) {\n  console.log(line);\n}\n```\n\nOr process a single line using `next()`.\n\n```ts\nconst { value, done } = await iterator.next();\n```\n\n## 🐛 About\n\n[BugSplat](https://bugsplat.com) is a software crash and error reporting service with support for [macOS](https://docs.bugsplat.com/introduction/getting-started/integrations/desktop/macos), [iOS](https://docs.bugsplat.com/introduction/getting-started/integrations/mobile/ios), [Qt](https://docs.bugsplat.com/introduction/getting-started/integrations/cross-platform/qt), [Unreal Engine](https://docs.bugsplat.com/introduction/getting-started/integrations/game-development/unreal-engine) and [many more](https://docs.bugsplat.com/introduction/getting-started/integrations). 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.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBugSplat-Git%2Freadlines-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBugSplat-Git%2Freadlines-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBugSplat-Git%2Freadlines-web/lists"}