{"name":"@types/klaw","version":"3.0.8","license":"MIT","_id":"@types/klaw@3.0.8","maintainers":[{"name":"types","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/mceachen","name":"Matthew McEachen","githubUsername":"mceachen"},{"url":"https://github.com/p4sca1","name":"Pascal Sthamer","githubUsername":"p4sca1"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/klaw","dist":{"shasum":"11c4af4b00500daa9e13d74ab0498800dc200429","tarball":"http://registry-npm.ywwl.com/@types/klaw/download/@types/klaw-3.0.8.tgz","fileCount":5,"integrity":"sha512-JNNpHCo5psAeI304Y18DFN3dRMl/Yo+r24dSGJJ73IHjjMQB2o7ztY+z+1F9hNTj3LIR0fa3Ute4cO0yUNhWGw==","signatures":[{"sig":"MEQCIBnK2jm7du2qt9vhTgZM5DZun36n2V7lGUsl84oBzeBmAiALkwLS5TD4R1ID+xoxRC54r99+gvSuobi9QMGeVlXTRA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGyC1EnGr9Um2j6P6AlEDHpxkxbI5nRW/kwLGPceQuldAiAZCEIeIqR+ofgE/efpGWpLgXBgSJoj3sbpSNCTul5sDw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5650,"size":2089,"noattachment":false,"key":"/@types/klaw/-/@types/klaw-3.0.8.tgz"},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/klaw"},"description":"TypeScript definitions for klaw","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.6","_npmOperationalInternal":{"tmp":"tmp/klaw_3.0.8_1790638565328_0.6587637164745797","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"63c93bbc29ce9ea6a11cbcdfe6a385e89e0de71b337d0bf0f91a38c86cde7e33","readme":"# Installation\r\n> `npm install --save @types/klaw`\r\n\r\n# Summary\r\nThis package contains type definitions for klaw (https://github.com/jprichardson/node-klaw).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/klaw.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/klaw/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\" />\n\ndeclare module \"klaw\" {\n    import * as fs from \"fs\";\n    import { Readable, ReadableOptions } from \"stream\";\n\n    function K(root: string, options?: K.Options): K.Walker;\n\n    namespace K {\n        interface Item {\n            path: string;\n            stats: fs.Stats;\n        }\n\n        type QueueMethod = \"shift\" | \"pop\";\n\n        interface Options extends ReadableOptions {\n            queueMethod?: QueueMethod | undefined;\n            pathSorter?: ((pathA: string, pathB: string) => number) | undefined;\n            fs?: any; // fs or mock-fs\n            filter?: ((path: string) => boolean) | undefined;\n            depthLimit?: number | undefined;\n            preserveSymlinks?: boolean | undefined;\n        }\n\n        type Event = \"close\" | \"data\" | \"end\" | \"error\" | \"pause\" | \"readable\" | \"resume\";\n\n        interface Walker extends Readable, AsyncIterable<Item> {\n            on(event: Event, listener: Function): this;\n            on(event: \"close\", listener: () => void): this;\n            on(event: \"data\", listener: (item: Item) => void): this;\n            on(event: \"end\", listener: () => void): this;\n            on(event: \"readable\", listener: () => void): this;\n            on(event: \"error\", listener: (err: Error) => void): this;\n            read(): Item;\n            [Symbol.asyncIterator](): AsyncIteratorObject<Item, any, any>;\n        }\n    }\n\n    export = K;\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Mon, 28 Sep 2026 23:34:57 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n\r\n# Credits\r\nThese definitions were written by [Matthew McEachen](https://github.com/mceachen), and [Pascal Sthamer](https://github.com/p4sca1).\r\n","publish_time":1790638565402,"_cnpm_publish_time":1790638565402,"dist-tags":{"latest":"3.0.8","ts2.0":"3.0.0","ts2.1":"3.0.0","ts2.2":"3.0.0","ts2.3":"3.0.0","ts2.4":"3.0.0","ts2.5":"3.0.0","ts2.6":"3.0.0","ts2.7":"3.0.0","ts2.8":"3.0.1","ts2.9":"3.0.1","ts3.0":"3.0.1","ts3.1":"3.0.1","ts3.2":"3.0.1","ts3.3":"3.0.1","ts3.4":"3.0.1","ts3.5":"3.0.1","ts3.6":"3.0.2","ts3.7":"3.0.3","ts3.8":"3.0.3","ts3.9":"3.0.3","ts4.0":"3.0.3","ts4.1":"3.0.3","ts4.2":"3.0.3","ts4.3":"3.0.3","ts4.4":"3.0.3","ts4.5":"3.0.6","ts4.6":"3.0.6","ts4.7":"3.0.6","ts4.8":"3.0.6","ts4.9":"3.0.6","ts5.0":"3.0.6","ts5.1":"3.0.7","ts5.2":"3.0.7","ts5.3":"3.0.7","ts5.4":"3.0.7","ts5.5":"3.0.7","ts5.6":"3.0.8","ts5.7":"3.0.8","ts5.8":"3.0.8","ts5.9":"3.0.8","ts6.0":"3.0.8","ts7.0":"3.0.8","ts7.1":"3.0.8"}}