{"versions":{"2.3.0":{"name":"@types/from2","version":"2.3.0","description":"TypeScript definitions for from2","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"peerDependencies":{},"typesPublisherContentHash":"bcc62c9a6a6c4e3fc222f967cfd88f1ef34afd3eab215d558edd995ce44034e1","typeScriptVersion":"2.0","_id":"@types/from2@2.3.0","dist":{"integrity":"sha512-WIURl4GQOp6wqa/suhVjtMh9Lgb7nnOsykAPYvwInDLbwu/hCLQcBvF57zQdEterX5sZtKQIHrSFZijvd6FDjA==","shasum":"5a3dd8d9db0363bc1ee6b98e0538fe0ae356ac3a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/from2/-/from2-2.3.0.tgz"},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/from2-2.3.0.tgz_1500922937579_0.7021319752093405"},"directories":{}},"2.3.1":{"name":"@types/from2","version":"2.3.1","description":"","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/from2","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/from2"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"3fbcba1b3460c86e48b8b0deab6d5dc0d212c9c9b7e1921f7975f205d3ef47ca","typeScriptVersion":"3.6","_id":"@types/from2@2.3.1","dist":{"shasum":"5620cc93c1a08c76691c1ba3d78ce4a37bf58277","size":1949,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/from2/-/from2-2.3.1.tgz"},"_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/from2_2.3.1_1625605017452_0.7921993464876154"},"_hasShrinkwrap":false,"publish_time":1625605017608,"_cnpm_publish_time":1625605017608},"2.3.2":{"name":"@types/from2","version":"2.3.2","description":"TypeScript definitions for from2","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/from2","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/from2"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"e086a1c05248b6436e4526d62ac72907533dc72839f3cd3e5c3d555457e1fb9a","typeScriptVersion":"4.1","_id":"@types/from2@2.3.2","dist":{"integrity":"sha512-s1pdctxW2+CA4FOxxTBRxC3RKQL9Br1a2s2LngP4jh1BI84JBL3mDXj87EwcckN9z/IXp8o3ySmvZveGEAAwqw==","shasum":"832980e94436af51133bf60a29c27293864cbbb5","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/from2/-/from2-2.3.2.tgz","fileCount":5,"unpackedSize":5954,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/Hr0kW86Ai75ymxetybSSxxsAgnpwtafJXHHKYI1C0gIhAOHVHlqmykosAy3A2UKlGo/ngB2yOGbOQLDwB1cYrsH6"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJja8ElACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/2A/9HGLfKFr0JG0VPylDXPihrKQuvM+5Gf2x3w+wcRBeTWeOTwGm\r\n3cyDukJuRjFEk2r73bkVo/L7AUwwoMyZBl2zvAGsktpiAylFZqVwyrFIN+1W\r\n9vWibW/YKtHUt+S33nVs8b2jeVdaVWUEbPmEbc4l/ov3njWc9XBYMZJQlA/U\r\narX0X7/R3NvyY2BjGtqleINvN+vBDVVMamJA+xNhquJ5sypTeCQzOrNk5nbN\r\n2qPfeRE61U4o2yx9rtykKgKUrvvX6NIOVhjbm0YIvrAj/zqa53oHOB7P+tUo\r\nQIs+MgQKfaEqfrJCc7oFt/eLqg9goPFelUfJtPXCI8b3QSN1NW6ujU1a+i/O\r\nw4KpvN13Ti4FthhA78h+1pA689luxlmMvTTDiCnrHkDLTUG8+fSJ7AHKFhB4\r\npqvB1SDEt0zxkLg5s78rc717Q2T/HtKoEAiIc1a72K3dYxAp5nZv+ho8ZDZH\r\nEFa6agKywJpWttYRD6ypKRDnqguaSNzo5FMMhPpZo3onKNPmDnbvNTr2vSv2\r\nkDHgEINgYEvHXD+KSiZT0KnjELmOwGB3KchYqQXknbClNtxHYY7m5klNzSEb\r\n1LPtLr5n6R7grMaAdJM9bjjrlfeKxnBwAQ3zgSLkEO194uwADyaFGsMVe/6o\r\nbsmmGemJscZrw2Zl4aXLj/Sn7uvEl6z24XI=\r\n=XZRa\r\n-----END PGP SIGNATURE-----\r\n","size":2035},"_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/from2_2.3.2_1668006181548_0.5150178243141574"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-09T15:05:03.624Z"},"2.3.3":{"name":"@types/from2","version":"2.3.3","description":"TypeScript definitions for from2","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/from2","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/from2"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"05113a26eaf2415a66fce3bbc381b3371e3250958ca61217035c5a715ecbf229","typeScriptVersion":"4.5","_id":"@types/from2@2.3.3","dist":{"integrity":"sha512-oBK78C5OTTlHkWOOYtXvXdMbW0/TCQZiUKlFMjye2lWxfGA2l/Dys5OihkSJgYgM7/szuTUAeznuusottiqxfg==","shasum":"c4e134102d720978e3e6be5baa9d2ebfc4587d2b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/from2/-/from2-2.3.3.tgz","fileCount":5,"unpackedSize":5952,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNxHRyTAJz7nu/0xFBCBSfkmdvZXw87MdOZMqad8AjmQIgd4ONT5EanFZz1ctK4sFTW+npunjhDCavrOeu52A0Gys="}]},"_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/from2_2.3.3_1694706596523_0.9899964256275093"},"_hasShrinkwrap":false},"2.3.4":{"name":"@types/from2","version":"2.3.4","description":"TypeScript definitions for from2","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/from2","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/from2"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"d72d68cae787020eadb2fb400377b0099badeed366f42c26b882b67637186578","typeScriptVersion":"4.5","_id":"@types/from2@2.3.4","dist":{"integrity":"sha512-Ofj/U9ytMjG5FIfFlTokSyGQdLgX8js+hbw9/qxZQbsGRjcjQPzoLGZhe6OEzrg7Sd98Il57iyxDtU1ArvCSTw==","shasum":"62e21791145795b1163a553fbd0c257f9235825c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/from2/-/from2-2.3.4.tgz","fileCount":5,"unpackedSize":5500,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDaDPDtQs83E3XANjpuFSwyNfQqONgpXB3lm/+2b9fDAAiEAynvfUCSlOPGGB9kU4J99ME2iLGPpEjhsIiJtN3wI6kk="}]},"_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/from2_2.3.4_1697597411249_0.2390301719787371"},"_hasShrinkwrap":false},"2.3.5":{"name":"@types/from2","version":"2.3.5","description":"TypeScript definitions for from2","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/from2","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/from2"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"418fed8b29787f8f32755ad2d3dcf98b3660ccbe58788e303c984b920f83d671","typeScriptVersion":"4.5","_id":"@types/from2@2.3.5","dist":{"integrity":"sha512-giavnjf3kNlJnE+HpZA1CQ3UKHxgehzsTuIMGda8pGMbOiLYGVNADEskey44OZcADHm/HOoBany8IV+0x28XFw==","shasum":"242eeb35ef2d241acc7322d692ae84e46160ada9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/from2/-/from2-2.3.5.tgz","fileCount":5,"unpackedSize":5500,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBAFor2wiEtZva4nc89Bm3mvoJNa88dr0dppelYCswj6AiBB/cbMGI08gDIEYXu5MFSdg9itBEsGrOcClKcqcXzdtg=="}]},"_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/from2_2.3.5_1699329168280_0.20057296505154842"},"_hasShrinkwrap":false},"2.3.6":{"name":"@types/from2","version":"2.3.6","license":"MIT","_id":"@types/from2@2.3.6","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/BendingBender","name":"BendingBender","githubUsername":"BendingBender"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/from2","dist":{"shasum":"710399e528317cf36bf8e5634528248e82c6f34b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/from2/-/from2-2.3.6.tgz","fileCount":5,"integrity":"sha512-pO5qFhZ85+M4znizw6ihwU2nW+EarU/TuWbYzSEt6YSCis+vET8WJMUlg6/b2HLBzzT9cfKhtEoIciazgv9UXQ==","signatures":[{"sig":"MEUCIFIioVC7b5tLl8TX1teSyX21zJrbVcVUtOfn6a9z02aCAiEAtXeeCCNmeF5TpeMZAAxpWeUFhbPtQ9I7DvON4fmIg2I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5530,"size":2014},"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/from2"},"description":"TypeScript definitions for from2","directories":{},"dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.2","_npmOperationalInternal":{"tmp":"tmp/from2_2.3.6_1761279101590_0.41584487527946545","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"231ad3e62d5cc70f4246e489020d2f5e5efcffd1eec755dd42a15c020422785e","_cnpmcore_publish_time":"2025-10-24T04:11:41.769Z","publish_time":1761279101769,"_source_registry_name":"default"}},"dist-tags":{"latest":"2.3.6","ts2.0":"2.3.0","ts2.1":"2.3.0","ts2.2":"2.3.0","ts2.3":"2.3.0","ts2.4":"2.3.0","ts2.5":"2.3.0","ts2.6":"2.3.0","ts2.7":"2.3.0","ts2.8":"2.3.0","ts2.9":"2.3.0","ts3.0":"2.3.0","ts3.1":"2.3.0","ts3.2":"2.3.0","ts3.3":"2.3.0","ts3.4":"2.3.0","ts3.5":"2.3.0","ts3.6":"2.3.1","ts3.7":"2.3.1","ts3.8":"2.3.1","ts3.9":"2.3.1","ts4.0":"2.3.1","ts4.1":"2.3.2","ts4.2":"2.3.2","ts4.3":"2.3.2","ts4.4":"2.3.2","ts4.5":"2.3.5","ts4.6":"2.3.5","ts4.7":"2.3.5","ts4.8":"2.3.5","ts4.9":"2.3.5","ts5.0":"2.3.5","ts5.1":"2.3.5","ts5.2":"2.3.6","ts5.3":"2.3.6","ts5.4":"2.3.6","ts5.5":"2.3.6","ts5.6":"2.3.6","ts5.7":"2.3.6","ts5.8":"2.3.6","ts5.9":"2.3.6","ts6.0":"2.3.6"},"name":"@types/from2","time":{"modified":"2025-10-24T04:11:54.706Z","created":"2022-01-27T19:14:02.173Z","2.3.0":"2017-07-24T19:02:17.658Z","2.3.1":"2021-07-06T20:56:57.608Z","2.3.2":"2022-11-09T15:03:01.762Z","2.3.3":"2023-09-14T15:49:56.690Z","2.3.4":"2023-10-18T02:50:11.453Z","2.3.5":"2023-11-07T03:52:48.445Z","2.3.6":"2025-10-24T04:11:41.769Z"},"readme":"# Installation\r\n> `npm install --save @types/from2`\r\n\r\n# Summary\r\nThis package contains type definitions for from2 (https://github.com/hughsk/from2).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/from2.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/from2/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\" />\nimport stream = require(\"stream\");\n\nexport = from2;\n\ndeclare function from2(read: from2.ReadInput): from2.Stream;\ndeclare function from2(opts: from2.ObjectModeOptions, read: from2.ReadObjectInput): from2.Stream;\ndeclare function from2(opts: from2.Options, read: from2.ReadInput): from2.Stream;\n\ndeclare namespace from2 {\n    interface Stream extends NodeJS.ReadableStream {\n        readonly destroyed: boolean;\n        destroy: (err?: Error) => void;\n    }\n    function obj(read: ReadObjectInput): Stream;\n    function obj(opts: { objectMode?: true | undefined } & stream.ReadableOptions, read: ReadObjectInput): Stream;\n\n    function ctor(opts?: Options): From2Ctor<ReadInput>;\n    function ctor(opts: ObjectModeOptions): From2Ctor<ReadObjectInput>;\n\n    type ObjectModeOptions = { objectMode: true } & stream.ReadableOptions;\n    type Options = { objectMode?: false | undefined } & stream.ReadableOptions;\n\n    type From2Ctor<R extends ReadInput | ReadObjectInput> = new(read: R) => Stream;\n\n    type ReadObjectInput = ReadCallback<NextObjectCallback> | any[];\n    type ReadInput = ReadCallback<NextCallback> | Chunk[];\n    type ReadCallback<N extends NextCallback | NextObjectCallback> = (size: number, next: N) => void;\n    type NextCallback = (err: any | undefined, chunk: Chunk) => void;\n    type NextObjectCallback = (err: any | undefined, chunk: any) => void;\n    type Chunk = string | Buffer | Uint8Array | null;\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 24 Oct 2025 04:02:41 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n\r\n# Credits\r\nThese definitions were written by [BendingBender](https://github.com/BendingBender).","users":{}}