{"_id":"@types/end-of-stream","_rev":"2802835","name":"@types/end-of-stream","description":"TypeScript definitions for end-of-stream","dist-tags":{"latest":"1.4.1","ts2.0":"1.4.0","ts2.1":"1.4.0","ts2.2":"1.4.0","ts2.3":"1.4.0","ts2.4":"1.4.0","ts2.5":"1.4.0","ts2.6":"1.4.0","ts2.7":"1.4.0","ts2.8":"1.4.0","ts2.9":"1.4.0","ts3.0":"1.4.0","ts3.1":"1.4.0","ts3.2":"1.4.0","ts3.3":"1.4.0","ts3.4":"1.4.0","ts3.5":"1.4.0","ts3.6":"1.4.1","ts3.7":"1.4.1","ts3.8":"1.4.1","ts3.9":"1.4.1","ts4.0":"1.4.1","ts4.1":"1.4.1","ts4.2":"1.4.1","ts4.3":"1.4.1","ts4.4":"1.4.1","ts4.5":"1.4.1","ts4.6":"1.4.1","ts4.7":"1.4.1","ts4.8":"1.4.1","ts4.9":"1.4.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2022-09-01T09:22:10.000Z","created":"2017-09-27T17:13:26.795Z","1.4.1":"2021-07-06T19:09:31.505Z","1.4.0":"2017-09-27T17:13:26.795Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/end-of-stream"},"versions":{"1.4.1":{"name":"@types/end-of-stream","version":"1.4.1","description":"TypeScript definitions for end-of-stream","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/end-of-stream","license":"MIT","contributors":[{"name":"Sami Kukkonen","url":"https://github.com/strax","githubUsername":"strax"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/end-of-stream"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"70833a02ec8f288737aa88aeecd7c65cb947e8532c04894998358bcd0376388d","typeScriptVersion":"3.6","_id":"@types/end-of-stream@1.4.1","dist":{"shasum":"9a401b642bcb0e4a8f0b70326725fbbb0216eb10","size":1730,"noattachment":false,"key":"/@types/end-of-stream/-/@types/end-of-stream-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/end-of-stream/download/@types/end-of-stream-1.4.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/end-of-stream_1.4.1_1625598571315_0.7644113197649915"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:43:53.523Z","publish_time":1625598571505,"_cnpm_publish_time":1625598571505},"1.4.0":{"name":"@types/end-of-stream","version":"1.4.0","description":"TypeScript definitions for end-of-stream","license":"MIT","contributors":[{"name":"Sami Kukkonen","url":"https://github.com/strax","githubUsername":"strax"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"9aa8e778f17399d48817eb25cf15f0a43224647b3a6c7a613ab2847881f5c27c","typeScriptVersion":"2.0","_id":"@types/end-of-stream@1.4.0","dist":{"shasum":"4e73ac87d15b6cc89cdaf2d26a59f617c778cb07","size":1633,"noattachment":false,"key":"/@types/end-of-stream/-/@types/end-of-stream-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/end-of-stream/download/@types/end-of-stream-1.4.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/end-of-stream-1.4.0.tgz_1506532406650_0.9283269224688411"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:43:53.425Z","publish_time":1506532406795,"_cnpm_publish_time":1506532406795}},"readme":"# Installation\r\n> `npm install --save @types/end-of-stream`\r\n\r\n# Summary\r\nThis package contains type definitions for end-of-stream (https://github.com/mafintosh/end-of-stream).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/end-of-stream.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/end-of-stream/index.d.ts)\r\n````ts\r\n// Type definitions for end-of-stream 1.4\n// Project: https://github.com/mafintosh/end-of-stream\n// Definitions by: Sami Kukkonen <https://github.com/strax>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n/// <reference types=\"node\"/>\n\ninterface Options {\n  readable?: boolean | undefined;\n  writable?: boolean | undefined;\n  error?: boolean | undefined;\n}\ntype Stream = NodeJS.ReadableStream | NodeJS.WritableStream;\ntype Callback = (error?: Error | null) => void;\ndeclare function eos(\n  stream: Stream,\n  callback?: Callback\n): () => void;\ndeclare function eos(\n  stream: Stream,\n  options: Options,\n  callback?: Callback\n): () => void;\ndeclare namespace eos {\n}\nexport = eos;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 06 Jul 2021 19:03:13 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Sami Kukkonen](https://github.com/strax).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/end-of-stream","license":"MIT"}