{"_id":"@remix-run/web-file","_rev":"7-5499e27a13912a083156478dac2adac5","name":"@remix-run/web-file","dist-tags":{"pre":"3.1.0-pre.0","latest":"3.1.0"},"versions":{"3.0.2":{"name":"@remix-run/web-file","version":"3.0.2","keywords":["file","blob","typed","typescript"],"author":{"url":"https://gozala.io","name":"Irakli Gozalishvili","email":"dev@gozala.io"},"license":"MIT","_id":"@remix-run/web-file@3.0.2","maintainers":[{"name":"chancestrickland","email":"hi@chance.dev"},{"name":"mjackson","email":"npm@mjackson.me"}],"homepage":"https://github.com/remix-run/web-std-io#readme","bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"dist":{"shasum":"1a6cc0900a1310ede4bc96abad77ac6eb27a2131","tarball":"https://registry.npmjs.org/@remix-run/web-file/-/web-file-3.0.2.tgz","fileCount":23,"integrity":"sha512-eFC93Onh/rZ5kUNpCQersmBtxedGpaXK2/gsUl49BYSGK/DvuPu3l06vmquEDdcPaEuXcsdGP0L7zrmUqrqo4A==","signatures":[{"sig":"MEQCIG9I3t4sm5lwuGgtDHW2gi3aESmyYDctfgP+o4vMTBgrAiBiBxPtJbiKWHuJvWsku94SiARZrRfLVGSfWeU6OObU+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaxFeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpg7g//STd5kJK9TA8ySalFcZMmUojCItidFa+mL3FcphokB67pNKlD\r\nQJg2jvxo/AXEyhwroCsXhgAj+CC6wX9jn1klFmYiL3XOEsBBgfCQUi1/wU6M\r\nnw4/smiW+BF2EIoGM9D4K7FVzNK4neOlOXxNQA/TOoNpBtvRd36Lo3fK597P\r\nBDVFnzZ7TNt+7UFJpSjkBNc34GwY+PxbzNaGJhS516dAOFFrUknY6H7U+2xm\r\nLZaFktvpvf8g1zvpnj2PtcuEzjhaKfuLc4dVxL0TZazUiBBaVfo2o0siOuyK\r\n/DA4Km+qdxShtHGuAWKwhyU3ph6gzy5+1YxR+UwkOHDKtdedxh3Z9rGJfoaI\r\nrAOS8l2bwsA3MtsMg34+dF2GDEdz3xe6sBq9yVHidFSBpV2C0IFWXCjo1H6z\r\nJ3RabjvoDsxiKialQvQ5EwRQ4Cf7oT7NnGGQI/GmjSFq5E7OAS3IFGkdqiTK\r\nDLCL0R4+lY6fLBsr55sWMF1DVqmWGUFBGuEiUluL2J+MODphwdtwEKrCcvFr\r\n033f525OTXZNDnjF/0KaUSAu5XR7xLDA1mnm94YZLPnGrCnn7OQLPFOz5U3Z\r\novnFfV0kitmLip0UuQlft9OkFVwQ8vwOSSiTQvBrwru4X9NSTzqdWl3TYPtA\r\n6JEl1h82W4SkxQeSZHGBfWhomFZOjQPwZ/I=\r\n=MCmF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/src/lib.node.cjs","type":"module","types":"./dist/src/lib.d.ts","module":"./src/lib.js","browser":{"./src/lib.node.js":"./src/lib.js"},"exports":{".":{"node":"./src/lib.node.js","browser":"./src/lib.js","require":"./dist/src/lib.node.cjs"}},"gitHead":"acfbdba347005e9adf2c72886d4720e659dc20dc","scripts":{"test":"npm run test:es && npm run test:web && npm run test:cjs","build":"npm run build:cjs && npm run build:types","check":"tsc --build","prepare":"npm run build","test:es":"uvu test all.spec.js","test:cjs":"rimraf dist && npm run build && node dist/test/all.spec.cjs","test:web":"playwright-test -r uvu test/web.spec.js","build:cjs":"rollup --config rollup.config.js","precommit":"lint-staged","build:types":"tsc --build"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"repository":{"url":"git+https://github.com/remix-run/web-std-io.git","type":"git"},"_npmVersion":"8.5.0","description":"Web API compatible File implementation for node","directories":{},"lint-staged":{"*.js":["prettier --no-semi --write","git add"]},"_nodeVersion":"16.14.2","dependencies":{"@remix-run/web-blob":"^3.0.3"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"0.5.2","husky":"^6.0.0","rimraf":"3.0.2","rollup":"2.47.0","prettier":"^2.3.0","typescript":"^4.4.4","@types/node":"15.0.2","lint-staged":"^11.0.0","git-validate":"2.2.4","@web-std/fetch":"^3.0.0","playwright-test":"^7.2.0","rollup-plugin-multi-input":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/web-file_3.0.2_1651183966672_0.5056973684066344","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"@remix-run/web-file","version":"3.0.3","keywords":["file","blob","typed","typescript"],"author":{"url":"https://gozala.io","name":"Irakli Gozalishvili","email":"dev@gozala.io"},"license":"MIT","_id":"@remix-run/web-file@3.0.3","maintainers":[{"name":"chancestrickland","email":"hi@chance.dev"},{"name":"mjackson","email":"npm@mjackson.me"}],"homepage":"https://github.com/remix-run/web-std-io#readme","bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"dist":{"shasum":"bf8d26d5a10a8dfda8a94438df93f4ccdc786680","tarball":"https://registry.npmjs.org/@remix-run/web-file/-/web-file-3.0.3.tgz","fileCount":23,"integrity":"sha512-yPf6MSXNcaQ4H1vkT/TSgImnqqfvfVKZzjd0vz3wvR0MM1NmrYfLbSbwfFLXdESFnQpXItbyKsgYGeAUEawgBg==","signatures":[{"sig":"MEUCIQDKDMPf5xY7ONhtf45CNUXuzQJeEn2fHMi4GyW8IfaF7QIgZlmYD/p/YS0b+fWJzYmXmQrG4z6QSCq84I/6xS51UNw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15101},"main":"./dist/src/lib.node.cjs","type":"module","types":"./dist/src/lib.d.ts","module":"./src/lib.js","browser":{"./src/lib.node.js":"./src/lib.js"},"exports":{".":{"node":"./src/lib.node.js","types":"./dist/src/lib.d.ts","browser":"./src/lib.js","require":"./dist/src/lib.node.cjs"}},"gitHead":"4fc5047f3a54a07ffea81347ff5063b5874d3cf0","scripts":{"test":"npm run test:es && npm run test:web && npm run test:cjs","build":"npm run build:cjs && npm run build:types","check":"tsc --build","prepare":"npm run build","test:es":"uvu test all.spec.js","test:cjs":"rimraf dist && npm run build && node dist/test/all.spec.cjs","test:web":"playwright-test -r uvu test/web.spec.js","build:cjs":"rollup --config rollup.config.js","precommit":"lint-staged","build:types":"tsc --build"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"repository":{"url":"git+https://github.com/remix-run/web-std-io.git","type":"git"},"_npmVersion":"8.19.4","description":"Web API compatible File implementation for node","directories":{},"lint-staged":{"*.js":["prettier --no-semi --write","git add"]},"_nodeVersion":"16.20.1","dependencies":{"@remix-run/web-blob":"^3.0.5"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"0.5.2","husky":"^6.0.0","rimraf":"3.0.2","rollup":"2.47.0","prettier":"^2.3.0","typescript":"^4.4.4","@types/node":"15.0.2","lint-staged":"^11.0.0","git-validate":"2.2.4","playwright-test":"^7.2.0","@remix-run/web-fetch":"^4.3.6","rollup-plugin-multi-input":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/web-file_3.0.3_1690927931765_0.018653757165403517","host":"s3://npm-registry-packages"}},"3.1.0-pre.0":{"name":"@remix-run/web-file","version":"3.1.0-pre.0","keywords":["file","blob","typed","typescript"],"author":{"url":"https://gozala.io","name":"Irakli Gozalishvili","email":"dev@gozala.io"},"license":"MIT","_id":"@remix-run/web-file@3.1.0-pre.0","maintainers":[{"name":"chancestrickland","email":"hi@chance.dev"},{"name":"mjackson","email":"mjijackson+npm@gmail.com"}],"homepage":"https://github.com/remix-run/web-std-io#readme","bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"dist":{"shasum":"b3e096dadc827e2766b6e5de24e41ce51fd9426c","tarball":"https://registry.npmjs.org/@remix-run/web-file/-/web-file-3.1.0-pre.0.tgz","fileCount":23,"integrity":"sha512-5Er4u9fvACp7Ejp9fqjmJHXRHl+1wt897GcJCYd1rAWPkEPp1oPlBeV8SkK3bMJj8oXEJtDuAlyJQ/Q6RcJGBg==","signatures":[{"sig":"MEYCIQCchjJS8wEc4MdDLPHdwjL0i2wStMlJWxor3lmwgSAi4gIhAN2O4HV/CNlPQAZswgzObRUyq/j+jYBCUTt11oAb7Ii0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15184},"main":"./dist/src/lib.node.cjs","type":"module","types":"./dist/src/lib.d.ts","module":"./src/lib.js","readme":"# web-file\n\n[![ci][ci.icon]][ci.url]\n[![package][version.icon] ![downloads][downloads.icon]][package.url]\n[![styled with prettier][prettier.icon]][prettier.url]\n\nWeb API compatible [File][] for nodejs.\n\n### Usage\n\n```js\nimport { File, Blob } from \"@remix-run/web-file\"\nconst file = new File([\"hello\", new TextEncoder().encode(\"world\")], \"hello\")\nfor await (const chunk of blob.stream()) {\n  console.log(chunk)\n}\n```\n\n### Usage from Typescript\n\nThis library makes use of [typescript using JSDOC annotations][ts-jsdoc] and\nalso generates type difinitions along with typed definition maps. So you should\nbe able to get all the type innference out of the box.\n\n## Install\n\n    npm install @remix-run/web-file\n\n[ci.icon]: https://github.com/web-std/io/workflows/file/badge.svg\n[ci.url]: https://github.com/web-std/io/actions/workflows/file.yml\n[version.icon]: https://img.shields.io/npm/v/@remix-run/web-file.svg\n[downloads.icon]: https://img.shields.io/npm/dm/@remix-run/web-file.svg\n[package.url]: https://npmjs.org/package/@remix-run/web-file\n[downloads.image]: https://img.shields.io/npm/dm/@remix-run/web-file.svg\n[downloads.url]: https://npmjs.org/package/@remix-run/web-file\n[prettier.icon]: https://img.shields.io/badge/styled_with-prettier-ff69b4.svg\n[prettier.url]: https://github.com/prettier/prettier\n[blob]: https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob\n[fetch-blob]: https://github.com/node-fetch/fetch-blob\n[readablestream]: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream\n[readable]: https://nodejs.org/api/stream.html#stream_readable_streams\n[file]: https://w3c.github.io/FileAPI/\n[for await]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of\n[buffer]: https://nodejs.org/api/buffer.html\n[weakmap]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n[ts-jsdoc]: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html\n","browser":{"./src/lib.node.js":"./src/lib.js"},"exports":{".":{"node":"./src/lib.node.js","types":"./dist/src/lib.d.ts","browser":{"import":"./src/lib.js","require":"./dist/src/lib.cjs"},"require":"./dist/src/lib.node.cjs"}},"gitHead":"e5fa79431539db79f0963cd317639a866619524e","scripts":{"test":"npm run test:es && npm run test:web && npm run test:cjs","build":"npm run build:cjs && npm run build:types","prepare":"npm run build","test:es":"uvu test all.spec.js","test:cjs":"rimraf dist && npm run build && node dist/test/all.spec.cjs","test:web":"playwright-test -r uvu test/web.spec.js","build:cjs":"rollup --config rollup.config.js","precommit":"lint-staged","typecheck":"tsc","build:types":"tsc --build"},"_npmUser":{"name":"mjackson","email":"mjijackson+npm@gmail.com"},"repository":{"url":"git+https://github.com/remix-run/web-std-io.git","type":"git"},"_npmVersion":"8.19.4","description":"Web API compatible File implementation for node","directories":{},"lint-staged":{"*.js":["prettier --no-semi --write","git add"]},"_nodeVersion":"16.20.2","dependencies":{"@remix-run/web-blob":"^3.1.0-pre.0"},"_hasShrinkwrap":false,"readmeFilename":"Readme.md","devDependencies":{"uvu":"0.5.2","husky":"^6.0.0","rimraf":"3.0.2","rollup":"2.47.0","prettier":"^2.3.0","typescript":"^4.4.4","@types/node":"15.0.2","lint-staged":"^11.0.0","git-validate":"2.2.4","playwright-test":"^7.2.0","@remix-run/web-fetch":"^4.4.0-pre.0","rollup-plugin-multi-input":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/web-file_3.1.0-pre.0_1693587182233_0.4749625377942348","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@remix-run/web-file","version":"3.1.0","keywords":["file","blob","typed","typescript"],"author":{"url":"https://gozala.io","name":"Irakli Gozalishvili","email":"dev@gozala.io"},"license":"MIT","_id":"@remix-run/web-file@3.1.0","maintainers":[{"name":"chancestrickland","email":"hi@chance.dev"},{"name":"mjackson","email":"mjijackson+npm@gmail.com"}],"homepage":"https://github.com/remix-run/web-std-io#readme","bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"dist":{"shasum":"07219021a2910e90231bc30ca1ce693d0e9d3825","tarball":"https://registry.npmjs.org/@remix-run/web-file/-/web-file-3.1.0.tgz","fileCount":23,"integrity":"sha512-dW2MNGwoiEYhlspOAXFBasmLeYshyAyhIdrlXBi06Duex5tDr3ut2LFKVj7tyHLmn8nnNwFf1BjNbkQpygC2aQ==","signatures":[{"sig":"MEUCIEv4imyJc9Uef45oe95fU9SGKT/Zf8OTkkkV37nyHkisAiEAouZm3RVFbJj/kQ/xhx4qtbAy9ozbIAw39KTRsT5/RyE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15166},"main":"./dist/src/lib.node.cjs","type":"module","types":"./dist/src/lib.d.ts","module":"./src/lib.js","browser":{"./src/lib.node.js":"./src/lib.js"},"exports":{".":{"node":"./src/lib.node.js","types":"./dist/src/lib.d.ts","browser":{"import":"./src/lib.js","require":"./dist/src/lib.cjs"},"require":"./dist/src/lib.node.cjs"}},"gitHead":"e8418530bada7cbaaf224106384ce427b4341222","scripts":{"test":"npm run test:es && npm run test:web && npm run test:cjs","build":"npm run build:cjs && npm run build:types","prepare":"npm run build","test:es":"uvu test all.spec.js","test:cjs":"rimraf dist && npm run build && node dist/test/all.spec.cjs","test:web":"playwright-test -r uvu test/web.spec.js","build:cjs":"rollup --config rollup.config.js","precommit":"lint-staged","typecheck":"tsc","build:types":"tsc --build"},"_npmUser":{"name":"mjackson","email":"mjijackson+npm@gmail.com"},"repository":{"url":"git+https://github.com/remix-run/web-std-io.git","type":"git"},"_npmVersion":"8.19.4","description":"Web API compatible File implementation for node","directories":{},"lint-staged":{"*.js":["prettier --no-semi --write","git add"]},"_nodeVersion":"16.20.2","dependencies":{"@remix-run/web-blob":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"0.5.2","husky":"^6.0.0","rimraf":"3.0.2","rollup":"2.47.0","prettier":"^2.3.0","typescript":"^4.4.4","@types/node":"15.0.2","lint-staged":"^11.0.0","git-validate":"2.2.4","playwright-test":"^7.2.0","@remix-run/web-fetch":"^4.4.0","rollup-plugin-multi-input":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/web-file_3.1.0_1694622390246_0.15945683273572997","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-04-28T22:12:46.571Z","modified":"2026-02-12T01:12:27.084Z","3.0.2":"2022-04-28T22:12:46.815Z","3.0.3":"2023-08-01T22:12:11.927Z","3.1.0-pre.0":"2023-09-01T16:53:02.491Z","3.1.0":"2023-09-13T16:26:30.497Z"},"bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"author":{"url":"https://gozala.io","name":"Irakli Gozalishvili","email":"dev@gozala.io"},"license":"MIT","homepage":"https://github.com/remix-run/web-std-io#readme","keywords":["file","blob","typed","typescript"],"repository":{"url":"git+https://github.com/remix-run/web-std-io.git","type":"git"},"description":"Web API compatible File implementation for node","maintainers":[{"email":"mjijackson+npm@gmail.com","name":"mjackson"}],"readme":"# web-file\n\n[![ci][ci.icon]][ci.url]\n[![package][version.icon] ![downloads][downloads.icon]][package.url]\n[![styled with prettier][prettier.icon]][prettier.url]\n\nWeb API compatible [File][] for nodejs.\n\n### Usage\n\n```js\nimport { File, Blob } from \"@remix-run/web-file\"\nconst file = new File([\"hello\", new TextEncoder().encode(\"world\")], \"hello\")\nfor await (const chunk of blob.stream()) {\n  console.log(chunk)\n}\n```\n\n### Usage from Typescript\n\nThis library makes use of [typescript using JSDOC annotations][ts-jsdoc] and\nalso generates type difinitions along with typed definition maps. So you should\nbe able to get all the type innference out of the box.\n\n## Install\n\n    npm install @remix-run/web-file\n\n[ci.icon]: https://github.com/web-std/io/workflows/file/badge.svg\n[ci.url]: https://github.com/web-std/io/actions/workflows/file.yml\n[version.icon]: https://img.shields.io/npm/v/@remix-run/web-file.svg\n[downloads.icon]: https://img.shields.io/npm/dm/@remix-run/web-file.svg\n[package.url]: https://npmjs.org/package/@remix-run/web-file\n[downloads.image]: https://img.shields.io/npm/dm/@remix-run/web-file.svg\n[downloads.url]: https://npmjs.org/package/@remix-run/web-file\n[prettier.icon]: https://img.shields.io/badge/styled_with-prettier-ff69b4.svg\n[prettier.url]: https://github.com/prettier/prettier\n[blob]: https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob\n[fetch-blob]: https://github.com/node-fetch/fetch-blob\n[readablestream]: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream\n[readable]: https://nodejs.org/api/stream.html#stream_readable_streams\n[file]: https://w3c.github.io/FileAPI/\n[for await]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of\n[buffer]: https://nodejs.org/api/buffer.html\n[weakmap]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n[ts-jsdoc]: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html\n","readmeFilename":"Readme.md"}