{"_id":"modern-tar","_rev":"4114789","name":"modern-tar","description":"Zero dependency streaming tar parser and writer for JavaScript.","dist-tags":{"latest":"0.7.3"},"maintainers":[{"name":"lotusdevshack","email":""}],"time":{"modified":"2026-02-03T17:59:09.000Z","created":"2025-09-24T17:13:29.274Z","0.7.3":"2025-12-16T11:31:24.404Z","0.7.2":"2025-11-19T09:37:04.800Z","0.7.1":"2025-11-14T10:03:41.476Z","0.7.0":"2025-11-13T06:15:06.117Z","0.6.1":"2025-10-24T03:14:39.958Z","0.6.0":"2025-10-23T06:39:52.847Z","0.5.5":"2025-10-22T06:22:31.358Z","0.5.4":"2025-10-16T01:59:15.143Z","0.5.3":"2025-10-14T16:14:49.857Z","0.5.2":"2025-10-14T03:00:32.260Z","0.5.1":"2025-10-12T15:01:34.953Z","0.5.0":"2025-10-12T09:05:18.230Z","0.4.2":"2025-10-11T03:32:28.732Z","0.4.1":"2025-10-09T03:35:21.587Z","0.4.0":"2025-10-08T06:47:00.458Z","0.3.5":"2025-10-02T06:31:42.668Z","0.3.4":"2025-09-29T16:34:14.058Z","0.3.3":"2025-09-28T08:45:44.506Z","0.3.2":"2025-09-27T17:26:08.944Z","0.3.1":"2025-09-27T17:03:17.329Z","0.3.0":"2025-09-27T15:37:50.715Z","0.2.3":"2025-09-26T10:03:08.923Z","0.2.2":"2025-09-26T00:30:13.180Z","0.2.1":"2025-09-25T14:19:24.071Z","0.2.0":"2025-09-25T07:42:26.190Z","0.1.0":"2025-09-24T17:19:14.208Z","0.0.0":"2025-09-24T17:13:29.274Z"},"users":{},"author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"versions":{"0.7.3":{"name":"modern-tar","version":"0.7.3","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"typesVersions":{"*":{"fs":["dist/fs/index.d.ts"],"*":["dist/web/index.d.ts"]}},"devDependencies":{"@biomejs/biome":"2.3.8","@types/node":"^25.0.2","@vitest/browser-playwright":"4.0.15","@vitest/coverage-v8":"4.0.15","tsdown":"^0.18.0","typescript":"^5.9.3","vitest":"4.0.15"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit","test:browser":"vitest --config=vitest.browser.config.ts --browser"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"b7cd92c9912a2f927a5fcf8092dafc98a37196d4","_id":"modern-tar@0.7.3","_nodeVersion":"24.11.1","_npmVersion":"11.7.0","dist":{"shasum":"6c302e229040f37fd359e37d1930fdd6ff9fc57c","size":22364,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.7.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.7.3.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.7.3_1765884684261_0.7425599596337655"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-16T11:31:24.404Z","publish_time":1765884684404,"_source_registry_name":"default","_cnpm_publish_time":1765884684404},"0.7.2":{"name":"modern-tar","version":"0.7.2","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"typesVersions":{"*":{"fs":["dist/fs/index.d.ts"],"*":["dist/web/index.d.ts"]}},"devDependencies":{"@biomejs/biome":"2.3.5","@types/node":"^24.10.1","@vitest/coverage-v8":"^4.0.8","tsdown":"^0.16.3","typescript":"^5.9.3","vitest":"^4.0.8"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"81db74f3c418eefb223b8b2d57751c25f5dd38e5","_id":"modern-tar@0.7.2","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"shasum":"a2177552f2aa12aba0e2bcce50e7f53dc2d08273","size":22528,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.7.2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.7.2_1763545024569_0.4681583551263999"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-19T09:37:04.800Z","publish_time":1763545024800,"_source_registry_name":"default","_cnpm_publish_time":1763545024800},"0.7.1":{"name":"modern-tar","version":"0.7.1","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"typesVersions":{"*":{"fs":["dist/fs/index.d.ts"],"*":["dist/web/index.d.ts"]}},"devDependencies":{"@biomejs/biome":"2.3.5","@types/node":"^24.10.1","@vitest/coverage-v8":"^4.0.8","tsdown":"^0.16.3","typescript":"^5.9.3","vitest":"^4.0.8"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"95b6c3a57ad21d98629a9c7a64da54523c4aa52e","_id":"modern-tar@0.7.1","_nodeVersion":"24.11.0","_npmVersion":"11.6.2","dist":{"shasum":"e1f9f2aced316ae055c42f3098fb91757d56bf77","size":22413,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.7.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.7.1_1763114621299_0.7945623739479359"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-14T10:03:41.476Z","publish_time":1763114621476,"_source_registry_name":"default","_cnpm_publish_time":1763114621476},"0.7.0":{"name":"modern-tar","version":"0.7.0","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"typesVersions":{"*":{"fs":["dist/fs/index.d.ts"],"*":["dist/web/index.d.ts"]}},"devDependencies":{"@biomejs/biome":"2.3.5","@types/node":"^24.10.1","@vitest/coverage-v8":"^4.0.8","tsdown":"^0.16.3","typescript":"^5.9.3","vitest":"^4.0.8"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"45c6dfd3b15d2f68d0a793606dcd83e6ec24108a","_id":"modern-tar@0.7.0","_nodeVersion":"24.11.0","_npmVersion":"11.6.2","dist":{"shasum":"9193a753bb017054a889e3e5b3f7fcb0b9a57041","size":22291,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.7.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.7.0_1763014505927_0.008310332241209029"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-13T06:15:06.117Z","publish_time":1763014506117,"_source_registry_name":"default","_cnpm_publish_time":1763014506117},"0.6.1":{"name":"modern-tar","version":"0.6.1","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"typesVersions":{"*":{"fs":["dist/fs/index.d.ts"],"*":["dist/web/index.d.ts"]}},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.7.1","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"b80a5a7af1397f1c52f9afc3e2e1240c71bbd69d","_id":"modern-tar@0.6.1","_nodeVersion":"24.10.0","_npmVersion":"11.6.2","dist":{"shasum":"34bcb77ec3203aefbd45f11cef925b7e55555a9e","size":19973,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.6.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.6.1_1761275679773_0.9603746631924357"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-24T03:14:39.958Z","publish_time":1761275679958,"_source_registry_name":"default","_cnpm_publish_time":1761275679958},"0.6.0":{"name":"modern-tar","version":"0.6.0","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"typesVersions":{"*":{"fs":["dist/fs/index.d.ts"],"*":["dist/web/index.d.ts"]}},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.7.1","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"6ec3563b0d6788a4c00fddba71368fd1b2d9c796","_id":"modern-tar@0.6.0","_nodeVersion":"24.10.0","_npmVersion":"11.6.2","dist":{"shasum":"3e5d60a19bd4bc456c8b8d228b38d1fa462ceb69","size":19962,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.6.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.6.0_1761201592634_0.19870306690666406"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-23T06:39:52.847Z","publish_time":1761201592847,"_source_registry_name":"default","_cnpm_publish_time":1761201592847},"0.5.5":{"name":"modern-tar","version":"0.5.5","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"typesVersions":{"*":{"fs":["dist/fs/index.d.ts"],"*":["dist/web/index.d.ts"]}},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.7.1","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"b090ca1029a79c1d56b0cd8c76366a7592046690","_id":"modern-tar@0.5.5","_nodeVersion":"24.10.0","_npmVersion":"11.6.2","dist":{"shasum":"c2b5b9729dcd78557d72871a94a31ce56c179d35","size":19832,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.5.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.5.5.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.5.5_1761114151167_0.1254474555748324"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-22T06:22:31.358Z","publish_time":1761114151358,"_source_registry_name":"default","_cnpm_publish_time":1761114151358},"0.5.4":{"name":"modern-tar","version":"0.5.4","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"typesVersions":{"*":{"fs":["dist/fs/index.d.ts"],"*":["dist/web/index.d.ts"]}},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.7.1","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"88168c9bc9e8ffda8ad9b20b3ccdd2f3ea0cfd9e","_id":"modern-tar@0.5.4","_nodeVersion":"24.10.0","_npmVersion":"11.6.2","dist":{"shasum":"0f2c2ee3ddb1e834533330b1ecb960e8edfe61dd","size":19788,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.5.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.5.4.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.5.4_1760579954941_0.40274164451896777"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-16T01:59:15.143Z","publish_time":1760579955143,"_source_registry_name":"default","_cnpm_publish_time":1760579955143},"0.5.3":{"name":"modern-tar","version":"0.5.3","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.7.1","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"0fd121487616db202a9d2be815241e957d591c2f","_id":"modern-tar@0.5.3","_nodeVersion":"24.10.0","_npmVersion":"11.6.2","dist":{"shasum":"b6a2d5d946b2c8255128888fe0a4a36595ba56dc","size":19758,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.5.3.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.5.3_1760458489645_0.2377194286095079"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-14T16:14:49.857Z","publish_time":1760458489857,"_source_registry_name":"default","_cnpm_publish_time":1760458489857},"0.5.2":{"name":"modern-tar","version":"0.5.2","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.7.1","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"c9fcef4309023153fe2c10b1de3688ba8e1b1125","_id":"modern-tar@0.5.2","_nodeVersion":"24.10.0","_npmVersion":"11.6.2","dist":{"shasum":"70258d5f290f37c8d6a3d96a9fa26a1fde8acad2","size":19785,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.5.2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.5.2_1760410832067_0.1154341156232015"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-14T03:00:32.260Z","publish_time":1760410832260,"_source_registry_name":"default","_cnpm_publish_time":1760410832260},"0.5.1":{"name":"modern-tar","version":"0.5.1","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.7.1","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"b3dd4ee841ec44344d418ac598adcbf6e945177c","_id":"modern-tar@0.5.1","_nodeVersion":"24.9.0","_npmVersion":"11.6.2","dist":{"shasum":"d8ddb8deb1d05520c033333a8ddd90b50a28b815","size":19473,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.5.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.5.1_1760281294767_0.9952763577535562"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-12T15:01:34.953Z","publish_time":1760281294953,"_source_registry_name":"default","_cnpm_publish_time":1760281294953},"0.5.0":{"name":"modern-tar","version":"0.5.0","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.7.1","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"aed639e65caf82946af32da2e48426f3a8204883","_id":"modern-tar@0.5.0","_nodeVersion":"24.9.0","_npmVersion":"11.6.2","dist":{"shasum":"01d06ef76dd43dbd4903bf316f4b2bcc82884dab","size":19362,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.5.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.5.0_1760259918029_0.8001205717692732"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-12T09:05:18.230Z","publish_time":1760259918230,"_source_registry_name":"default","_cnpm_publish_time":1760259918230},"0.4.2":{"name":"modern-tar","version":"0.4.2","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.7.1","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"8ab5650ac50912d30d988366b37f5d7b327a0963","_id":"modern-tar@0.4.2","_nodeVersion":"24.9.0","_npmVersion":"11.6.2","dist":{"shasum":"a6d96e6d640b8f856f4f792cdf9de99231860b1a","size":19046,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.4.2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.4.2_1760153548561_0.14439443138577146"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-11T03:32:28.732Z","publish_time":1760153548732,"_source_registry_name":"default","_cnpm_publish_time":1760153548732},"0.4.1":{"name":"modern-tar","version":"0.4.1","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.6.2","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"fdfcc92bf6b5cb05b57ffbaa79bec4a522c2fab4","_id":"modern-tar@0.4.1","_nodeVersion":"24.9.0","_npmVersion":"11.6.2","dist":{"shasum":"45ef4cdc53fa67dd054bc3abb01362ec6f267e65","size":18593,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.4.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.4.1_1759980921414_0.11967542696808509"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-09T03:35:21.587Z","publish_time":1759980921587,"_source_registry_name":"default","_cnpm_publish_time":1759980921587},"0.4.0":{"name":"modern-tar","version":"0.4.0","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":"./dist/web/index.js","./fs":"./dist/fs/index.js"},"devDependencies":{"@biomejs/biome":"2.2.5","@types/node":"^24.6.2","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.6","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"a0165e37a3e2ba04749fa72150cfdd77dd03a151","_id":"modern-tar@0.4.0","_nodeVersion":"24.9.0","_npmVersion":"11.6.1","dist":{"shasum":"d7406a67848f42274cc559543bd2d56ca41b9383","size":18624,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.4.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.4.0_1759906020270_0.6068557448270078"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-08T06:47:00.458Z","publish_time":1759906020458,"_source_registry_name":"default","_cnpm_publish_time":1759906020458},"0.3.5":{"name":"modern-tar","version":"0.3.5","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"dfbc97d9c32b5f356dfa8e94728f7c5eb9a37240","_id":"modern-tar@0.3.5","_nodeVersion":"24.9.0","_npmVersion":"11.6.1","dist":{"shasum":"73c539ee8b4a01873b0e014db0f142f395f2c31f","size":17009,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.3.5.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.3.5_1759386702487_0.24072092501881248"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-02T06:31:42.668Z","publish_time":1759386702668,"_source_registry_name":"default","_cnpm_publish_time":1759386702668},"0.3.4":{"name":"modern-tar","version":"0.3.4","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"db6fc52763022967fcb9178ca98d7d3c774b3f5d","_id":"modern-tar@0.3.4","_nodeVersion":"24.9.0","_npmVersion":"11.6.1","dist":{"shasum":"4723d4b0ef0e96afeab65b4c10e6c55820860877","size":16810,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.3.4.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.3.4_1759163653874_0.07872080918168711"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-29T16:34:14.058Z","publish_time":1759163654058,"_source_registry_name":"default","_cnpm_publish_time":1759163654058},"0.3.3":{"name":"modern-tar","version":"0.3.3","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"83eee4fe0a6d65e3f9aa91a18963995c5782b550","_id":"modern-tar@0.3.3","_nodeVersion":"24.9.0","_npmVersion":"11.6.1","dist":{"shasum":"9b2970f9de9a340a0c732c2f6814b7f46490f9b2","size":20487,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.3.3.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.3.3_1759049144333_0.30912838744003235"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-28T08:45:44.506Z","publish_time":1759049144506,"_source_registry_name":"default","_cnpm_publish_time":1759049144506},"0.3.2":{"name":"modern-tar","version":"0.3.2","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"b9ab3f800a2e765a3fce38d97e998819a31eaf7f","_id":"modern-tar@0.3.2","_nodeVersion":"24.9.0","_npmVersion":"11.6.1","dist":{"shasum":"b2a9d23615f39f53089f351083f9a65df64915bc","size":20401,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.3.2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.3.2_1758993968740_0.5585452858190603"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-27T17:26:08.944Z","publish_time":1758993968944,"_source_registry_name":"default","_cnpm_publish_time":1758993968944},"0.3.1":{"name":"modern-tar","version":"0.3.1","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"47c2a1a47cc3cde43490f7ad01e5fdab0e4e2df7","_id":"modern-tar@0.3.1","_nodeVersion":"24.9.0","_npmVersion":"11.6.1","dist":{"shasum":"9a8b2f268a23f5b377eec8a3fc23d58f6b86b5e4","size":20378,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.3.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.3.1_1758992597133_0.5082616296511577"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-27T17:03:17.329Z","publish_time":1758992597329,"_source_registry_name":"default","_cnpm_publish_time":1758992597329},"0.3.0":{"name":"modern-tar","version":"0.3.0","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","@vitest/coverage-v8":"^3.2.4","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","coverage":"vitest run --coverage","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"338bae681772c8f45e2bad8abab997efdf969774","_id":"modern-tar@0.3.0","_nodeVersion":"24.9.0","_npmVersion":"11.6.1","dist":{"shasum":"25bdc24a2c9dd2bad7ce91b52b42b14ee7cc81b3","size":20061,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.3.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.3.0_1758987470517_0.17089832022356988"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-27T15:37:50.715Z","publish_time":1758987470715,"_source_registry_name":"default","_cnpm_publish_time":1758987470715},"0.2.3":{"name":"modern-tar","version":"0.2.3","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"264cf1aff08c71e78319bf91ea82c187983efb5a","_id":"modern-tar@0.2.3","_nodeVersion":"24.9.0","_npmVersion":"11.6.1","dist":{"shasum":"7b0e3725ac6174f8cf8d3a7150c7fef54adc0ab3","size":18859,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.2.3.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.2.3_1758880988739_0.05512457156059947"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-26T10:03:08.923Z","publish_time":1758880988923,"_source_registry_name":"default","_cnpm_publish_time":1758880988923},"0.2.2":{"name":"modern-tar","version":"0.2.2","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"52e620bfccd47b5f6356b1c2bec9a1a7f03d5518","_id":"modern-tar@0.2.2","_nodeVersion":"24.8.0","_npmVersion":"11.6.1","dist":{"shasum":"94bc73d60fa734b3ce10d1826f86fe351116f8f7","size":18624,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.2.2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.2.2_1758846612942_0.7135331563573857"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-26T00:30:13.180Z","publish_time":1758846613180,"_source_registry_name":"default","_cnpm_publish_time":1758846613180},"0.2.1":{"name":"modern-tar","version":"0.2.1","description":"Zero dependency streaming tar parser and writer for JavaScript.","author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"047c20564e65a47b7b108e91091a016228bebdbb","_id":"modern-tar@0.2.1","_nodeVersion":"24.8.0","_npmVersion":"11.6.1","dist":{"shasum":"630ad27fa05b9b55ef96aaf18165f587d9426480","size":18585,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.2.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.2.1_1758809963887_0.5720310381373463"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-25T14:19:24.071Z","publish_time":1758809964071,"_source_registry_name":"default","_cnpm_publish_time":1758809964071},"0.2.0":{"name":"modern-tar","version":"0.2.0","description":"Zero dependency streaming tar parser and writer for JavaScript.","license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"gitHead":"582576997f9d22f71deccec5180ebeb1fced3982","_id":"modern-tar@0.2.0","_nodeVersion":"24.8.0","_npmVersion":"11.6.1","dist":{"shasum":"09bb08172376c770dd48d584bf8e413d1e6d6a21","size":17511,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.2.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.2.0_1758786145999_0.07989903260500042"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-25T07:42:26.190Z","publish_time":1758786146190,"_source_registry_name":"default","_cnpm_publish_time":1758786146190},"0.1.0":{"name":"modern-tar","version":"0.1.0","description":"Zero dependency streaming tar parser and writer for JavaScript.","license":"MIT","type":"module","sideEffects":false,"main":"./dist/web/index.js","module":"./dist/web/index.js","types":"./dist/web/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"author":{"name":"Ayuhito","email":"hello@ayuhito.com"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"_id":"modern-tar@0.1.0","gitHead":"4e5d9d3a36e5fecdc7195e28da115a1453215883","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"shasum":"43277fa8f42decae98723b9bf6d8f15255dc6905","size":15572,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.1.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d53381c-e2dc-4005-8fb7-f849fa81e1b4"}},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.1.0_1758734354022_0.8443230333463565"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-24T17:19:14.208Z","publish_time":1758734354208,"_source_registry_name":"default","_cnpm_publish_time":1758734354208},"0.0.0":{"name":"modern-tar","version":"0.0.0","description":"Zero dependency streaming tar parser and writer for JavaScript.","license":"MIT","type":"module","sideEffects":false,"exports":{"./package.json":"./package.json",".":{"import":"./dist/web/index.js","types":"./dist/web/index.d.ts"},"./fs":{"node":{"import":"./dist/fs/index.js","types":"./dist/fs/index.d.ts"},"default":null}},"devDependencies":{"@biomejs/biome":"2.2.4","@types/node":"^24.5.2","tsdown":"^0.15.4","typescript":"^5.9.2","vitest":"^3.2.4"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","check":"biome check --write","typecheck":"tsc --noEmit"},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"repository":{"type":"git","url":"git+https://github.com/ayuhito/modern-tar.git"},"author":"Ayuhito <hello@ayuhito.com>","publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"_id":"modern-tar@0.0.0","_integrity":"sha512-4JRxz3kcK0DGH1q2sZnTk3xUwWGmRPGqe3tmpPSN4gKhJG6VMj0h2RAhvwFKQezf2q6cDROwMXwrxToSdjJZFA==","_nodeVersion":"24.3.0","_npmVersion":"10.8.3","shasum":"426c75207da49179ed909008d58f3071e52dc93c","dist":{"shasum":"426c75207da49179ed909008d58f3071e52dc93c","size":14743,"noattachment":false,"key":"/modern-tar/-/modern-tar-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/modern-tar/download/modern-tar-0.0.0.tgz"},"_npmUser":{"name":"lotusdevshack","email":"declininglotus@gmail.com"},"directories":{},"maintainers":[{"name":"lotusdevshack","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modern-tar_0.0.0_1758734009065_0.47774747967511866"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-24T17:13:29.274Z","publish_time":1758734009274,"_source_registry_name":"default","_cnpm_publish_time":1758734009274}},"readme":"# ????️ modern-tar\n\nZero-dependency, cross-platform, streaming tar archive library for every JavaScript runtime. Built with the browser-native Web Streams API for performance and memory efficiency.\n\n## Features\n\n- ???? **Streaming Architecture** - Supports large archives without loading everything into memory.\n- ???? **Standards Compliant** - Full USTAR format support with PAX extensions. Compatible with GNU tar, BSD tar, and other standard implementations.\n- ????️ **Compression** - Includes helpers for gzip compression/decompression.\n- ???? **TypeScript First** - Full type safety with detailed TypeDoc documentation.\n- ⚡ **Zero Dependencies** - No external dependencies, minimal bundle size.\n- ???? **Cross-Platform** - Works in browsers, Node.js, Cloudflare Workers, and other JavaScript runtimes.\n- ???? **Node.js Integration** - Additional high-level APIs for directory packing and extraction.\n\n## Installation\n\n```sh\nnpm install modern-tar\n```\n\n## Usage\n\nThis package provides two entry points:\n\n- `modern-tar`: The core, cross-platform streaming API (works everywhere).\n- `modern-tar/fs`: High-level filesystem utilities for Node.js.\n\n### Core Usage\n\nThese APIs use the Web Streams API and can be used in any modern JavaScript environment.\n\n#### Simple\n\n```typescript\nimport { packTar, unpackTar } from 'modern-tar';\n\n// Pack entries into a tar buffer\nconst entries = [\n\t{ header: { name: \"file.txt\", size: 5 }, body: \"hello\" },\n\t{ header: { name: \"dir/\", type: \"directory\", size: 0 } },\n\t{ header: { name: \"dir/nested.txt\", size: 3 }, body: new Uint8Array([97, 98, 99]) } // \"abc\"\n];\n\n// Accepts string, Uint8Array, Blob, ReadableStream<Uint8Array> and more...\nconst tarBuffer = await packTar(entries);\n\n// Unpack tar buffer into entries\nconst entries = await unpackTar(tarBuffer);\nfor (const entry of entries) {\n\tconsole.log(`File: ${entry.header.name}`);\n\tconst content = new TextDecoder().decode(entry.data);\n\tconsole.log(`Content: ${content}`);\n}\n```\n\n#### Streaming\n\n```typescript\nimport { createTarPacker, createTarDecoder } from 'modern-tar';\n\n// Create a tar packer\nconst { readable, controller } = createTarPacker();\n\n// Add entries dynamically\nconst fileStream = controller.add({\n\tname: \"dynamic.txt\",\n\tsize: 5,\n\ttype: \"file\"\n});\n\n// Write content to the stream\nconst writer = fileStream.getWriter();\nawait writer.write(new TextEncoder().encode(\"hello\"));\nawait writer.close();\n\n// When done adding entries, finalize the archive\ncontroller.finalize();\n\n// Pipe the archive right into a decoder\nconst decodedStream = readable.pipeThrough(createTarDecoder());\nfor await (const entry of decodedStream) {\n\tconsole.log(`Decoded: ${entry.header.name}`);\n\n\tconst shouldSkip = entry.header.name.endsWith(\".md\");\n\tif (shouldSkip) {\n\t\t// You MUST drain the body with cancel() to proceed to the next entry or read it fully,\n\t\t// otherwise the stream will stall.\n\t\tawait entry.body.cancel();\n\t\tcontinue;\n\t}\n\n\tconst reader = entry.body.getReader();\n\twhile (true) {\n\t\tconst { done, value } = await reader.read();\n\t\tif (done) break;\n\t\tprocessChunk(value);\n\t}\n}\n```\n\n#### Compression/Decompression (gzip)\n\n```typescript\nimport { createGzipEncoder, createTarPacker } from 'modern-tar';\n\n// Create and compress a tar archive\nconst { readable, controller } = createTarPacker();\nconst compressedStream = readable.pipeThrough(createGzipEncoder());\n\n// Add entries...\nconst fileStream = controller.add({ name: \"file.txt\", size: 5, type: \"file\" });\nconst writer = fileStream.getWriter();\nawait writer.write(new TextEncoder().encode(\"hello\"));\nawait writer.close();\ncontroller.finalize();\n\n// Upload compressed .tar.gz\nawait fetch('/api/upload', {\n  method: 'POST',\n  body: compressedStream,\n  headers: { 'Content-Type': 'application/gzip' }\n});\n```\n\n```typescript\nimport { createGzipDecoder, createTarDecoder, unpackTar } from 'modern-tar';\n\n// Download and process a .tar.gz file\nconst response = await fetch('https://api.example.com/archive.tar.gz');\nif (!response.body) throw new Error('No response body');\n\n// Buffer entire archive\nconst entries = await unpackTar(response.body.pipeThrough(createGzipDecoder()));\n\nfor (const entry of entries) {\n\tconsole.log(`Extracted: ${entry.header.name}`);\n\tconst content = new TextDecoder().decode(entry.data);\n\tconsole.log(`Content: ${content}`);\n}\n\n// Or chain decompression and tar parsing using streams\nconst entries = response.body\n  .pipeThrough(createGzipDecoder())\n  .pipeThrough(createTarDecoder());\n\nfor await (const entry of entries) {\n  console.log(`Extracted: ${entry.header.name}`);\n  // Process entry.body ReadableStream as needed\n}\n```\n\n### Node.js Filesystem Usage\n\nThese APIs use Node.js streams when interacting with the local filesystem.\n\n#### Simple\n\n```typescript\nimport { packTar, unpackTar } from 'modern-tar/fs';\nimport { createWriteStream, createReadStream } from 'node:fs';\nimport { pipeline } from 'node:stream/promises';\n\n// Pack a directory into a tar file\nconst tarStream = packTar('./my/project');\nconst fileStream = createWriteStream('./project.tar');\nawait pipeline(tarStream, fileStream);\n\n// Extract a tar file to a directory\nconst tarReadStream = createReadStream('./project.tar', {\n\thighWaterMark: 256 * 1024 // 256 KB for optimal performance\n});\nconst extractStream = unpackTar('./output/directory');\nawait pipeline(tarReadStream, extractStream);\n```\n\n#### Filtering and Transformation\n\n```typescript\nimport { packTar, unpackTar } from 'modern-tar/fs';\nimport { createReadStream } from 'node:fs';\nimport { pipeline } from 'node:stream/promises';\n\n// Pack with filtering\nconst packStream = packTar('./my/project', {\n\tfilter: (filePath, stats) => !filePath.includes('node_modules'),\n\tmap: (header) => ({ ...header, mode: 0o644 }), // Set all files to 644\n\tdereference: true // Follow symlinks instead of archiving them\n});\n\n// Unpack with advanced options\nconst sourceStream = createReadStream('./archive.tar', {\n\thighWaterMark: 256 * 1024 // 256 KB for optimal performance\n});\nconst extractStream = unpackTar('./output', {\n\t// Core options\n\tstrip: 1, // Remove first directory level\n\tfilter: (header) => header.name.endsWith('.js'), // Only extract JS files\n\tmap: (header) => ({ ...header, name: header.name.toLowerCase() }), // Transform names\n\n\t// Filesystem-specific options\n\tfmode: 0o644, // Override file permissions\n\tdmode: 0o755, // Override directory permissions\n\tmaxDepth: 50,  // Limit extraction depth for security (default: 1024)\n\tconcurrency: 8 // Limit concurrent filesystem operations (default: CPU cores)\n});\n\nawait pipeline(sourceStream, extractStream);\n```\n\n#### Archive Creation\n\n```typescript\nimport { packTar, type TarSource } from 'modern-tar/fs';\nimport { createWriteStream } from 'node:fs';\nimport { pipeline } from 'node:stream/promises';\n\n// Pack multiple sources\nconst sources: TarSource[] = [\n  { type: 'file', source: './package.json', target: 'project/package.json' },\n  { type: 'directory', source: './src', target: 'project/src' },\n  { type: 'content', content: 'Hello World!', target: 'project/hello.txt' },\n  { type: 'content', content: '#!/bin/bash\\necho \"Executable\"', target: 'bin/script.sh', mode: 0o755 },\n  { type: 'stream', content: createReadStream('./large-file.bin'), target: 'project/data.bin', size: 1048576 },\n  { type: 'stream', content: fetch('/api/data').then(r => r.body!), target: 'project/remote.json', size: 2048 }\n];\n\nconst archiveStream = packTar(sources);\nawait pipeline(archiveStream, createWriteStream('project.tar'));\n```\n\n#### Compression/Decompression (gzip)\n\n```typescript\nimport { packTar, unpackTar } from 'modern-tar/fs';\nimport { createWriteStream, createReadStream } from 'node:fs';\nimport { createGzip, createGunzip } from 'node:zlib';\nimport { pipeline } from 'node:stream/promises';\n\n// Pack directory and compress to .tar.gz\nconst tarStream = packTar('./my/project');\nawait pipeline(tarStream, createGzip(), createWriteStream('./project.tar.gz'));\n\n// Decompress and extract .tar.gz\nconst gzipStream = createReadStream('./project.tar.gz', {\n\thighWaterMark: 256 * 1024 // 256 KB for optimal performance\n});\nawait pipeline(gzipStream, createGunzip(), unpackTar('./output'));\n```\n\n## API Reference\n\nSee the [API Reference](./REFERENCE.md).\n\n# Benchmarks\n\nCurrent benchmarks indicate we're much faster than other popular tar libraries for small file archives (packing and unpacking). On the other hand, larger files hit an I/O bottleneck resulting in similar performance between libraries.\n\nSee the [Results](./benchmarks/README.md).\n\n## Compatibility\n\nThe core library uses the [Web Streams API](https://caniuse.com/streams) and requires:\n\n- **Node.js**: 18.0+\n- **Browsers**: Modern browsers with Web Streams support\n  - Chrome 71+\n  - Firefox 102+\n  - Safari 14.1+\n  - Edge 79+\n\n## Acknowledgements\n\n- [`tar-stream`](https://github.com/mafintosh/tar-stream) and [`tar-fs`](https://github.com/mafintosh/tar-fs) - For the inspiration and test fixtures.\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/ayuhito/modern-tar","bugs":{"url":"https://github.com/ayuhito/modern-tar/issues"},"license":"MIT"}