{"versions":{"2.0.0":{"name":"@types/streamsaver","version":"2.0.0","description":"TypeScript definitions for streamsaver","license":"MIT","contributors":[{"name":"Enn Michael","url":"https://github.com/ennmichael","githubUsername":"ennmichael"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/streamsaver"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"1a97238d79efa8e3924a4a1de7f49c0fa3c0cc22fc2457d46a28835a7b0b6b99","typeScriptVersion":"3.2","_id":"@types/streamsaver@2.0.0","dist":{"integrity":"sha512-TzUEZk30QmNaS6GAhcOnH/Cl2mO7HCFhQUr6GpzvuoFziFCxmvuyLftHW79agJpZvIrqti9jSiDHMgflUwbejg==","shasum":"2a6bdec0389f41a74c60091d37e84f8840d27ac9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/streamsaver/-/streamsaver-2.0.0.tgz","fileCount":4,"unpackedSize":4882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2ZFwCRA9TVsSAnZWagAAEogP/049hfsbzOMUTLdpBWZg\nZUh2I0AjjMqzxFwwGLtaBbx2qia1OL8NgkZNdoOglSdy7YMav3R4f+SE4U/I\nKJ+2ubYZHcCPfAioOYdmsvDhpiFS6+E3oaSdtPiy2c9APxJmPDNmqygdjcgW\nmGV1vm4ghoy0NrAJ9Zy0f4CJHJXThMZjzen2TYPJayB+09umbDR8zc7qxBDq\nS5Xevl13wQCbjNa3+5yNapldtxayl9y3k+cldUzYjfuH28fWCEtrF8jgPqYx\nXBe6IzR+t1Twu9fqhAV0tdx9phF3EVILkfAbqRGjYpPjgFa/tZec2xBs+RHi\nJX/oBWAqwtUmR9eha41zvXvongUR1sZTF7QeOY04lubFPUzACaVVKX1tgJXE\nloGEQo4TaIgjAv8E7eAWQqNTDhtUp7bObIiEU31LfXVNB6wbpiL9a9GBKPMv\nVSnTfMcYHqO1I8g/TQ9I4D3MeTKKhynQoG25Ap1LETnXKdu/sSTl2RQRCdyj\nTepMNYWl0P3p27IExFQcva+mZfzCe5XXd8uMUNOzAd/ezeQtyOLAxiEHEnt/\npVgA1UwLzpu0yGdxu9uOw7RlJAyxykk3E1PR3PlgTUT5x1fmFQ8JqkblUUVo\nqWn6nkGJYVzAJXozd1jDnUfBkVKn+w4zPA8dDLB5NeCWrGqVO/JvM/+LxE/g\nPkvP\r\n=L9MD\r\n-----END PGP SIGNATURE-----\r\n","size":2265},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/streamsaver_2.0.0_1591316845662_0.11304283508883817"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-25T23:41:40.610Z"},"2.0.1":{"name":"@types/streamsaver","version":"2.0.1","description":"TypeScript definitions for streamsaver","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/streamsaver","license":"MIT","contributors":[{"name":"Enn Michael","url":"https://github.com/ennmichael","githubUsername":"ennmichael"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/streamsaver"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"30e73195e80133fb04c977d6f6c0727bf7f07ee8e23246fb530a67bb14e00f04","typeScriptVersion":"3.6","_id":"@types/streamsaver@2.0.1","dist":{"integrity":"sha512-I49NtT8w6syBI3Zg3ixCyygTHoTVMY0z2TMRcTgccdIsVd2MwlKk7ITLHLsJtgchUHcOd7QEARG9h0ifcA6l2Q==","shasum":"fa5e5b891d1b282be3078c232a30ee004b8e0be0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/streamsaver/-/streamsaver-2.0.1.tgz","fileCount":4,"unpackedSize":5030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg35W+CRA9TVsSAnZWagAAmjUQAI95csz1G9haULUxoWHN\nbwMXUP8ARBceMleUhZ5pBMWlll2bySKdL4MEXtyHyd1LY8nPeyvtUvY0udqr\n5GaKSElAuKlluam7TDdIjQgrPGJX8ZMGDc4+WgOlOaO4wlprt0eM9liFBoYa\nMUs6rbld+/Q79yb1YkKz0ohg8/xaUyEy7BSdRbiFJCS+Ba9eJ0omqvrrywby\nMRiCILnARnmyDeTgaM9fWG8UVZ3p9qlziO00OkY1dO1AbzrVu1eELbPy3FCQ\n/UKJgjcv/7Xygp3sjkGtSTdX84dMeWPwPbyS9hGXplY6ndZS+P1eOyzH4Y0P\nhypKBrw4chDCfxMVsGya9B4oKUNhQy93NzpxFrnxgG7N+QhjmrHzoXL01RkO\n0WLXwnvi9A4vgsf2TGofqHDpmwUNLpMKcz4DskgO9cUcc88NbZKsDxQEF5m5\npoxWLLeimnqUd24wGf2OI8V+mW2nGp1GHMSq7N5gRwgpdmHgV8V2mCDRVhyh\nnHPruGA/dFdJKEalo4FWIdfEbYg8sOyqsSjrRxk3g0lhtFwu0zMvGot7AGVf\n/xspsHIswZpHkTK4UYMN5Jp1gI4wSNK5pg6l5y4afri41I+J56HfB479ugEC\ntqKlQF8311sMo2gcuHWyDZ+8xzUqkf/0iecdHnQefC3YE2dv84era29ncHk9\nF6Ya\r\n=quZH\r\n-----END PGP SIGNATURE-----\r\n","size":2298},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/streamsaver_2.0.1_1625265597792_0.9519310888669248"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-25T23:41:41.486Z"},"2.0.2":{"name":"@types/streamsaver","version":"2.0.2","description":"TypeScript definitions for streamsaver","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/streamsaver","license":"MIT","contributors":[{"name":"Enn Michael","url":"https://github.com/ennmichael","githubUsername":"ennmichael"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/streamsaver"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"936f352081eb984d0316a1fcf3b04f859499458280706b4dc0546a66e00ed9f8","typeScriptVersion":"4.5","_id":"@types/streamsaver@2.0.2","dist":{"integrity":"sha512-lMUHs4H7dFobme85vUBO4ZWaq+pvvt8kTVBipS3p6G/5j/GPHClG5IwED7yRRw2XTanBKF3+yKJ9TxyrlHIwHw==","shasum":"2c135d41da7dc4ba57e66276ad69a8fb3a81f0b3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/streamsaver/-/streamsaver-2.0.2.tgz","fileCount":5,"unpackedSize":5042,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKOsd+Cp6G0IkYKVC25YlumBPAPjr3lsORdibVEU9BpAiBeWoOy2gXLBUlqIwpR5uv7CRJexQXe4DO26IFjpjZuWg=="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/streamsaver_2.0.2_1695655732051_0.08492418635736088"},"_hasShrinkwrap":false},"2.0.3":{"name":"@types/streamsaver","version":"2.0.3","description":"TypeScript definitions for streamsaver","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/streamsaver","license":"MIT","contributors":[{"name":"Enn Michael","githubUsername":"ennmichael","url":"https://github.com/ennmichael"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/streamsaver"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"c1c0ddeb761a8ac5f054d3400749f9a1ce5c931bdb91b96a3333076ab2f7fd0c","typeScriptVersion":"4.5","_id":"@types/streamsaver@2.0.3","dist":{"integrity":"sha512-kFhA2pMXftdILCezJCPHYWae9bmKb9VOzNC9VzGrfkX2o23/DnmwR2g++6tZXHGvOqheH7ab+lc5nNQ+LxjfbA==","shasum":"8c6622387347c3f4473e4b4580ebb0a62cf90f99","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/streamsaver/-/streamsaver-2.0.3.tgz","fileCount":5,"unpackedSize":7176,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHQGAOFPZIVs2CyNYNKTiGXDfE4kIXV17lGy5/VcQPmTAiATXl/Q+KHDismrwKaRCV9gz78F/35tPaU+9pIJmJePgw=="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/streamsaver_2.0.3_1697643670440_0.3023522673093575"},"_hasShrinkwrap":false},"2.0.4":{"name":"@types/streamsaver","version":"2.0.4","description":"TypeScript definitions for streamsaver","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/streamsaver","license":"MIT","contributors":[{"name":"Enn Michael","githubUsername":"ennmichael","url":"https://github.com/ennmichael"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/streamsaver"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"0fa467eb814a5c5fab0417794c22b45431f851968f1c0f9d9582e5468758cc07","typeScriptVersion":"4.5","_id":"@types/streamsaver@2.0.4","dist":{"integrity":"sha512-XxpGYIaBP+2NgZ5+4YeG7hI3wYAyOX8QB92xlPpNvStIAvlniml1th+D0bes1lUZz52IWkPlXMf88wy8NzFkbA==","shasum":"b57e47f9246dc0ed69378f7d1387857c94043ecf","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/streamsaver/-/streamsaver-2.0.4.tgz","fileCount":5,"unpackedSize":7176,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYyXdnIofr04gIfeIeVr+81MCPW4rNN2DpVTmsR2cdAAiAfKWg2QqtfdA5sLl316fnI1tp1w0fGLVJwT9NmaLOSOA=="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/streamsaver_2.0.4_1699376944431_0.22757653830798819"},"_hasShrinkwrap":false},"2.0.5":{"name":"@types/streamsaver","version":"2.0.5","license":"MIT","_id":"@types/streamsaver@2.0.5","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/ennmichael","name":"Enn Michael","githubUsername":"ennmichael"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/streamsaver","dist":{"shasum":"f513e0a619c7fe6ea0ca04e86c65d40908cb2c59","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/streamsaver/-/streamsaver-2.0.5.tgz","fileCount":5,"integrity":"sha512-93o0zjV8swEhR2YI57h/2ytbJF8bJh7sI9GNB02TLJHdM4fWDxZuChwfWhyD8vt2ub4kw4rsfZ0C0yAUX+3gcg==","signatures":[{"sig":"MEUCIQDfGlfY218IXUQY2oFM61oILG5X7kN46puTVhjG4neoewIgJN/3r1WJxvhp7wKJfKjJd3pABpDQqfMRGdgWL49zD2c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7200,"size":2345},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/streamsaver"},"description":"TypeScript definitions for streamsaver","directories":{},"dependencies":{},"_hasShrinkwrap":false,"typeScriptVersion":"4.8","_npmOperationalInternal":{"tmp":"tmp/streamsaver_2.0.5_1726304880654_0.8837898363367516","host":"s3://npm-registry-packages"},"typesPublisherContentHash":"85e739ce2611d7d6f7d755ac0279f3260260451fe15232883630e77994d6d48a","_cnpmcore_publish_time":"2024-09-14T09:08:00.833Z","publish_time":1726304880833,"_source_registry_name":"default"}},"dist-tags":{"latest":"2.0.5","ts3.2":"2.0.0","ts3.3":"2.0.0","ts3.4":"2.0.0","ts3.5":"2.0.0","ts3.6":"2.0.1","ts3.7":"2.0.1","ts3.8":"2.0.1","ts3.9":"2.0.1","ts4.0":"2.0.1","ts4.1":"2.0.1","ts4.2":"2.0.1","ts4.3":"2.0.1","ts4.4":"2.0.1","ts4.5":"2.0.4","ts4.6":"2.0.4","ts4.7":"2.0.4","ts4.8":"2.0.5","ts4.9":"2.0.5","ts5.0":"2.0.5","ts5.1":"2.0.5","ts5.2":"2.0.5","ts5.3":"2.0.5","ts5.4":"2.0.5","ts5.5":"2.0.5","ts5.6":"2.0.5","ts5.7":"2.0.5","ts5.8":"2.0.5","ts5.9":"2.0.5","ts6.0":"2.0.5"},"name":"@types/streamsaver","time":{"created":"2022-01-27T21:34:01.370Z","modified":"2025-08-03T07:50:05.076Z","2.0.0":"2020-06-05T00:27:25.891Z","2.0.1":"2021-07-02T22:39:57.918Z","2.0.2":"2023-09-25T15:28:52.248Z","2.0.3":"2023-10-18T15:41:10.653Z","2.0.4":"2023-11-07T17:09:04.590Z","2.0.5":"2024-09-14T09:08:00.833Z"},"readme":"# Installation\r\n> `npm install --save @types/streamsaver`\r\n\r\n# Summary\r\nThis package contains type definitions for streamsaver (https://github.com/jimmywarting/StreamSaver.js).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/streamsaver.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/streamsaver/index.d.ts)\r\n````ts\r\nexport as namespace streamSaver;\n\n/**\n * Create a WritableStream. The data written to this stream will be streamed to the user's browser as a file download.\n * @param filename File name for the download.\n * @param options Additional options.\n */\nexport function createWriteStream(\n    filename: string,\n    options?: CreateWriteStreamOptions,\n): WritableStream<Uint8Array>;\n\nexport interface CreateWriteStreamOptions<I = any, O = any> {\n    /**\n     * Indicates the size of the streamed data and allows the browser to show progress while downloading.\n     */\n    size?: number | undefined;\n    /**\n     * URL to serve the stream from. This is the URL that the browser is going to request from the service worker.\n     * You might need to provide this if you're using a custom service worker.\n     */\n    pathname?: string | undefined;\n    writableStrategy?: QueuingStrategy<I> | undefined;\n    readableStrategy?: QueuingStrategy<O> | undefined;\n}\n\nexport interface Version {\n    full: string;\n    major: number;\n    minor: number;\n    dot: number;\n}\n\n/**\n * StreamSaver.js library version.\n */\nexport const version: Version;\n\nexport let supported: boolean;\n\n/**\n * URL to the man-in-the-middle page. By default, this is\n * https://jimmywarting.github.io/StreamSaver.js/mitm.html?version=2.0.0, but you can also serve this\n * file from your own server, or even provide a custom MITM file with a custom service worker.\n */\nexport let mitm: string;\n\n/**\n * The WritableStream class that will be used by StreamSaver.js. By default, this is window.WritableStream,\n * but you can also provide a ponyfill or a polyfill if your target browser does not support it natively.\n */\nexport let WritableStream: {\n    prototype: WritableStream;\n    new<W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;\n};\n\n/**\n * The TransformStream class that will be used by StreamSaver.js. By default, this is the native TransformStream,\n * but you can also provide a ponyfill or a polyfill if your target browser does not support it natively.\n */\nexport let TransformStream: {\n    prototype: TransformStream;\n    new<I = any, O = any>(\n        transformer: Transformer<I, O>,\n        writableStrategy: QueuingStrategy<I>,\n        readableStrategy: QueuingStrategy<O>,\n    ): TransformStream<I, O>;\n};\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Sat, 14 Sep 2024 09:08:00 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Enn Michael](https://github.com/ennmichael).","users":{}}