{"id":17924271,"url":"https://github.com/zebp/streaming-tar","last_synced_at":"2025-03-24T02:33:35.199Z","repository":{"id":162691327,"uuid":"637129922","full_name":"zebp/streaming-tar","owner":"zebp","description":"A pure-TypeScript streaming Tar parser for Web-compatible JavaScript runtimes","archived":false,"fork":false,"pushed_at":"2024-07-30T05:41:18.000Z","size":12,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T08:12:33.758Z","etag":null,"topics":["javascript","streaming","tar","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zebp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-06T15:46:06.000Z","updated_at":"2024-11-03T22:16:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"72e2cdb5-c720-41d7-8a31-ad80aa0a4a23","html_url":"https://github.com/zebp/streaming-tar","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebp%2Fstreaming-tar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebp%2Fstreaming-tar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebp%2Fstreaming-tar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebp%2Fstreaming-tar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zebp","download_url":"https://codeload.github.com/zebp/streaming-tar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245199039,"owners_count":20576480,"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":["javascript","streaming","tar","typescript"],"created_at":"2024-10-28T20:47:50.791Z","updated_at":"2025-03-24T02:33:35.192Z","avatar_url":"https://github.com/zebp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003estreaming-tar\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  A pure-TypeScript streaming Tar parser for Web-compatible JavaScript runtimes.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/streaming-tar\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/streaming-tar?style=for-the-badge\" alt=\"downloads\" height=\"24\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/streaming-tar\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/zebp/streaming-tar/ci.yml?branch=main\u0026style=for-the-badge\" alt=\"npm version\" height=\"24\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/zebp/streaming-tar\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green?style=for-the-badge\" alt=\"MIT license\" height=\"24\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n```ts\nimport * as tar from \"streaming-tar\";\n\nconst resp = await fetch(\"https://registry.npmjs.org/react/-/react-18.2.0.tgz\");\nconst tarStream = resp.body.pipeThrough(new DecompressionStream(\"gzip\"));\n\nfor await (const entry of tar.entries(tarStream)) {\n  const contents = await entry.text();\n  console.log(entry.name, contents);\n}\n```\n\n## Features\n\n- Streaming support\n- Supports Node.js, Deno, Cloudflare Workers, and other Web-compatible\n  JavaScript runtimes\n- Zero dependencies\n- Small footprint, less than 1KB minified and gzipped.\n\n## Requirements\n\n- A Web-compatible JavaScript runtime (Node.js, Deno, Bun, Cloudflare Workers,\n  etc.)\n\n## Installation\n\nVia npm:\n\n```sh\nnpm install streaming-tar\n```\n\nVia yarn:\n\n```sh\nyarn add streaming-tar\n```\n\nVia pnpm:\n\n```sh\npnpm add streaming-tar\n```\n\nVia deno:\n\n```ts\nimport * as tar from \"https://deno.land/x/streaming_tar/mod.ts\";\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebp%2Fstreaming-tar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzebp%2Fstreaming-tar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebp%2Fstreaming-tar/lists"}