{"_id":"@types/klaw-sync","_rev":"650327","name":"@types/klaw-sync","description":"TypeScript definitions for klaw-sync","dist-tags":{"latest":"6.0.1","ts2.0":"6.0.0","ts2.1":"6.0.0","ts2.2":"6.0.0","ts2.3":"6.0.0","ts2.4":"6.0.0","ts2.5":"6.0.0","ts2.6":"6.0.0","ts2.7":"6.0.0","ts2.8":"6.0.0","ts2.9":"6.0.0","ts3.0":"6.0.0","ts3.1":"6.0.0","ts3.2":"6.0.0","ts3.3":"6.0.0","ts3.4":"6.0.0","ts3.5":"6.0.0","ts3.6":"6.0.1","ts3.7":"6.0.1","ts3.8":"6.0.1","ts3.9":"6.0.1","ts4.0":"6.0.1","ts4.1":"6.0.1","ts4.2":"6.0.1","ts4.3":"6.0.1","ts4.4":"6.0.1","ts4.5":"6.0.1","ts4.6":"6.0.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2021-11-18T20:16:10.000Z","created":"2017-03-09T22:14:48.138Z","6.0.1":"2021-07-08T17:13:48.790Z","6.0.0":"2018-12-31T15:56:21.569Z","5.0.0":"2018-09-17T23:23:12.748Z","2.0.0":"2018-04-24T23:34:26.378Z","1.1.3":"2017-08-29T21:32:08.626Z","1.1.2":"2017-04-17T17:56:31.852Z","1.1.1":"2017-03-27T18:24:01.000Z","1.1.0":"2017-03-09T22:14:48.138Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/klaw-sync"},"versions":{"6.0.1":{"name":"@types/klaw-sync","version":"6.0.1","description":"TypeScript definitions for klaw-sync","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/klaw-sync","license":"MIT","contributors":[{"name":"Brendan Forster","url":"https://github.com/shiftkey","githubUsername":"shiftkey"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/klaw-sync"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"3d4f5c7c682cd345401dd9ee1f313f50c5c63716e296eb0dea3dee05fba17e30","typeScriptVersion":"3.6","_id":"@types/klaw-sync@6.0.1","dist":{"shasum":"377f629b0fee644575b5b079121020ffa5f35d35","size":2246,"noattachment":false,"key":"/@types/klaw-sync/-/@types/klaw-sync-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/klaw-sync/download/@types/klaw-sync-6.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/klaw-sync_6.0.1_1625764428639_0.667717962309706"},"_hasShrinkwrap":false,"publish_time":1625764428790,"_cnpm_publish_time":1625764428790},"6.0.0":{"name":"@types/klaw-sync","version":"6.0.0","description":"TypeScript definitions for klaw-sync","license":"MIT","contributors":[{"name":"Brendan Forster","url":"https://github.com/shiftkey","githubUsername":"shiftkey"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"c184dc3185ae3330184a2410aae2f118255ab3e82840b377a00bf7e05a616bd7","typeScriptVersion":"2.0","_id":"@types/klaw-sync@6.0.0","dist":{"shasum":"ff0b36601efaaa109d513c4ced109311fd06ba36","size":2126,"noattachment":false,"key":"/@types/klaw-sync/-/@types/klaw-sync-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/klaw-sync/download/@types/klaw-sync-6.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/klaw-sync_6.0.0_1546271781444_0.7522362382276584"},"_hasShrinkwrap":false,"publish_time":1546271781569,"_cnpm_publish_time":1546271781569},"5.0.0":{"name":"@types/klaw-sync","version":"5.0.0","description":"TypeScript definitions for klaw-sync","license":"MIT","contributors":[{"name":"Brendan Forster","url":"https://github.com/shiftkey","githubUsername":"shiftkey"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"b70a2889ab1837fbb309aa2d07803c08b270cde8263019c8dc633c60f6c7ae03","typeScriptVersion":"2.0","_id":"@types/klaw-sync@5.0.0","dist":{"shasum":"e4b16ea075a1223b66ea4c3a71f007d0711e1749","size":1977,"noattachment":false,"key":"/@types/klaw-sync/-/@types/klaw-sync-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/klaw-sync/download/@types/klaw-sync-5.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/klaw-sync_5.0.0_1537226592635_0.8100601978166504"},"_hasShrinkwrap":false,"publish_time":1537226592748,"_cnpm_publish_time":1537226592748},"2.0.0":{"name":"@types/klaw-sync","version":"2.0.0","description":"TypeScript definitions for klaw-sync","license":"MIT","contributors":[{"name":"Brendan Forster","url":"https://github.com/shiftkey","githubUsername":"shiftkey"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"35d58134885b59580178b34924b010db331bb59f784f5dcde3f11e1db1b869a2","typeScriptVersion":"2.0","_id":"@types/klaw-sync@2.0.0","dist":{"shasum":"772dd00d3ddf14c7a734ce95c5ae0fcda1fc7690","size":1982,"noattachment":false,"key":"/@types/klaw-sync/-/@types/klaw-sync-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/klaw-sync/download/@types/klaw-sync-2.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/klaw-sync_2.0.0_1524612866273_0.5272565903369206"},"_hasShrinkwrap":false,"publish_time":1524612866378,"_cnpm_publish_time":1524612866378},"1.1.3":{"name":"@types/klaw-sync","version":"1.1.3","description":"TypeScript definitions for klaw-sync","license":"MIT","contributors":[{"name":"Brendan Forster","url":"https://github.com/shiftkey","githubUsername":"shiftkey"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"5f216fa7437ba7258ed08e62bac235a9b6b6e3aa1f270c82eb1ec44d2b0ef2bd","typeScriptVersion":"2.0","_id":"@types/klaw-sync@1.1.3","dist":{"shasum":"fa9884ce6301be767213781bc83055812169457a","size":1794,"noattachment":false,"key":"/@types/klaw-sync/-/@types/klaw-sync-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/klaw-sync/download/@types/klaw-sync-1.1.3.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/klaw-sync-1.1.3.tgz_1504042328551_0.3410835803952068"},"directories":{},"publish_time":1504042328626,"_hasShrinkwrap":false,"_cnpm_publish_time":1504042328626},"1.1.2":{"name":"@types/klaw-sync","version":"1.1.2","description":"TypeScript definitions for klaw-sync","license":"MIT","contributors":[{"name":"Brendan Forster","url":"https://github.com/shiftkey"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"peerDependencies":{},"typesPublisherContentHash":"0f24eeb42e2cb64911df9c3ca6b24841fb8f0c2c54616a8ced1c5508e8592857","typeScriptVersion":"2.0","_id":"@types/klaw-sync@1.1.2","dist":{"shasum":"a521fcb50b7d912f0114fe786039b0c7aa81ba53","size":1761,"noattachment":false,"key":"/@types/klaw-sync/-/@types/klaw-sync-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/klaw-sync/download/@types/klaw-sync-1.1.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/klaw-sync-1.1.2.tgz_1492451790202_0.27914931322447956"},"directories":{},"publish_time":1492451791852,"_hasShrinkwrap":false,"_cnpm_publish_time":1492451791852},"1.1.1":{"name":"@types/klaw-sync","version":"1.1.1","description":"TypeScript definitions for klaw-sync","license":"MIT","contributors":[{"name":"Brendan Forster","url":"https://github.com/shiftkey"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"peerDependencies":{},"typesPublisherContentHash":"0007ae724b8d3b45a2b0033a2655079088f64f02461a07f8c353aa714ebdc62f","typeScriptVersion":"2.0","_id":"@types/klaw-sync@1.1.1","dist":{"shasum":"ad7224e225b9f5e05f1c066ab55baea7caa8e629","size":1071,"noattachment":false,"key":"/@types/klaw-sync/-/@types/klaw-sync-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/klaw-sync/download/@types/klaw-sync-1.1.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/klaw-sync-1.1.1.tgz_1490639040759_0.16953143058344722"},"directories":{},"publish_time":1490639041000,"_cnpm_publish_time":1490639041000,"_hasShrinkwrap":false},"1.1.0":{"name":"@types/klaw-sync","version":"1.1.0","description":"TypeScript definitions for klaw-sync","license":"MIT","contributors":[{"name":"Brendan Forster","url":"https://github.com/shiftkey"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"peerDependencies":{},"typesPublisherContentHash":"f215dfdb1112f5bdee147575536cbe830a375d5b41701bf2ed451484bdcafb3c","typeScriptVersion":"2.0","_id":"@types/klaw-sync@1.1.0","dist":{"shasum":"1cc3fcd043421ec4f000d5b40601a47fc84a6cad","size":1070,"noattachment":false,"key":"/@types/klaw-sync/-/@types/klaw-sync-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/klaw-sync/download/@types/klaw-sync-1.1.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/klaw-sync-1.1.0.tgz_1489097687824_0.6219314846675843"},"directories":{},"publish_time":1489097688138,"_cnpm_publish_time":1489097688138,"_hasShrinkwrap":false}},"readme":"# Installation\r\n> `npm install --save @types/klaw-sync`\r\n\r\n# Summary\r\nThis package contains type definitions for klaw-sync (https://github.com/manidlou/node-klaw-sync).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/klaw-sync.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/klaw-sync/index.d.ts)\r\n````ts\r\n// Type definitions for klaw-sync 6.0\n// Project: https://github.com/manidlou/node-klaw-sync\n// Definitions by: Brendan Forster <https://github.com/shiftkey>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/// <reference types=\"node\" />\n\nimport * as fs from 'fs'\ndeclare namespace klawSync {\n    interface Item {\n        path: string\n        stats: fs.Stats\n    }\n\n    type Filter = (item: Item) => boolean\n\n    interface Options {\n        /**\n         * @description True to only return files (ignore directories).\n         *              Defaults to false if not specified.\n         * @default false\n         */\n        nodir?: boolean | undefined\n\n        /**\n         * @description True to only return directories (ignore files).\n         *              Defaults to false if not specified.\n         * @default false\n         */\n        nofile?: boolean | undefined\n\n        /**\n         * @description The number of times to recurse before stopping.\n         *              -1 for unlimited.\n         * @default -1\n         * @since v5.0.0\n         */\n        depthLimit?: number | undefined\n\n        /**\n         * @description Custom fs, useful when mocking fs object.\n         * @default graceful-fs\n         * @since v4.0.0\n         */\n        fs?: {\n            readdirSync(path: string): string[]\n            statSync(path: string): fs.Stats\n        } | undefined\n\n        /**\n         * @description function that gets one argument fn({path: '', stats: {}}) and returns true to include\n         *              or false to exclude the item\n         * @since v2.0.0\n         */\n        filter?: Filter | undefined\n\n        /**\n         * @description traverse all subdirectories, regardless of `filter` option.\n         *\n         * When set to true, traverseAll produces similar behavior to the default\n         * behavior prior to `v4.0.0`. The current default of `traverseAll: false`\n         * is equivalent to the old `noRecurseOnFailedFilter: true`).\n         *\n         * @since v6.0.0\n         */\n        traverseAll?: boolean | undefined\n    }\n}\n\ndeclare function klawSync(\n    root: string,\n    options?: klawSync.Options,\n): ReadonlyArray<klawSync.Item>\n\nexport = klawSync\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Thu, 08 Jul 2021 16:23:16 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 [Brendan Forster](https://github.com/shiftkey).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/klaw-sync","license":"MIT"}