{"_id":"@types/find-root","_rev":"3803990","name":"@types/find-root","description":"TypeScript definitions for find-root","dist-tags":{"latest":"1.1.4","ts2.2":"1.1.1","ts2.3":"1.1.1","ts2.4":"1.1.1","ts2.5":"1.1.1","ts2.6":"1.1.1","ts2.7":"1.1.1","ts2.8":"1.1.1","ts2.9":"1.1.1","ts3.0":"1.1.1","ts3.1":"1.1.2","ts3.2":"1.1.2","ts3.3":"1.1.2","ts3.4":"1.1.2","ts3.5":"1.1.2","ts3.6":"1.1.2","ts3.7":"1.1.2","ts3.8":"1.1.2","ts3.9":"1.1.2","ts4.0":"1.1.2","ts4.1":"1.1.2","ts4.2":"1.1.2","ts4.3":"1.1.2","ts4.4":"1.1.2","ts4.5":"1.1.4","ts4.6":"1.1.4","ts4.7":"1.1.4","ts4.8":"1.1.4","ts4.9":"1.1.4","ts5.0":"1.1.4","ts5.1":"1.1.4","ts5.2":"1.1.4","ts5.3":"1.1.4","ts5.4":"1.1.4","ts5.5":"1.1.4","ts5.6":"1.1.4","ts5.7":"1.1.4","ts5.8":"1.1.4","ts5.9":"1.1.4","ts6.0":"1.1.4"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2026-04-10T08:53:51.000Z","created":"2018-01-17T22:17:37.901Z","1.1.4":"2023-11-07T03:34:15.130Z","1.1.3":"2023-10-18T02:36:04.131Z","1.1.2":"2020-08-23T04:32:06.407Z","1.1.1":"2018-03-23T22:52:00.352Z","1.1.0":"2018-01-17T22:17:37.901Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/find-root"},"versions":{"1.1.4":{"name":"@types/find-root","version":"1.1.4","description":"TypeScript definitions for find-root","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/find-root","license":"MIT","contributors":[{"name":"Arturas Molcanovas","githubUsername":"Alorel","url":"https://github.com/Alorel"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/find-root"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"e94029d2ac8c89cd51b2c6795dd0cf52e28fde7e376d304e1f9f4dacdbd10c1c","typeScriptVersion":"4.5","_id":"@types/find-root@1.1.4","dist":{"shasum":"17b46390319c8fdacd05807e90ad3668060ffb3c","size":1770,"noattachment":false,"key":"/@types/find-root/-/@types/find-root-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/find-root/download/@types/find-root-1.1.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_1.1.4_1699328054908_0.2366289422749719"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T03:34:15.130Z","publish_time":1699328055130,"_source_registry_name":"default","_cnpm_publish_time":1699328055130},"1.1.3":{"name":"@types/find-root","version":"1.1.3","description":"TypeScript definitions for find-root","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/find-root","license":"MIT","contributors":[{"name":"Arturas Molcanovas","githubUsername":"Alorel","url":"https://github.com/Alorel"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/find-root"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"c2de3c7bb08a9b173580490ac7796b5a767b568222e3110c20febbead136a830","typeScriptVersion":"4.5","_id":"@types/find-root@1.1.3","dist":{"shasum":"fa22020975e0780e99804f5462a5cb61a7b172a1","size":1770,"noattachment":false,"key":"/@types/find-root/-/@types/find-root-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/find-root/download/@types/find-root-1.1.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_1.1.3_1697596563969_0.503958597354482"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T02:36:04.131Z","publish_time":1697596564131,"_source_registry_name":"default","_cnpm_publish_time":1697596564131},"1.1.2":{"name":"@types/find-root","version":"1.1.2","description":"TypeScript definitions for find-root","license":"MIT","contributors":[{"name":"Arturas Molcanovas","url":"https://github.com/Alorel","githubUsername":"Alorel"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/find-root"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"e5d3ffbf716bea475ccb616a4ec3d6f75838b2aef65512cabd88a13e9d3af916","typeScriptVersion":"3.1","_id":"@types/find-root@1.1.2","dist":{"shasum":"32b05d0d9028866bbe29bb9eaaf00170017a9110","size":1725,"noattachment":false,"key":"/@types/find-root/-/@types/find-root-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/find-root/download/@types/find-root-1.1.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_1.1.2_1598157126239_0.9450181217812439"},"_hasShrinkwrap":false,"publish_time":1598157126407,"_cnpm_publish_time":1598157126407},"1.1.1":{"name":"@types/find-root","version":"1.1.1","description":"TypeScript definitions for find-root","license":"MIT","contributors":[{"name":"Arturas Molcanovas","url":"https://github.com/Alorel","githubUsername":"Alorel"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"f82aded7b120e56eaa0411f0206f2bd2945d1613f92a14304cb9c49fe7c973af","typeScriptVersion":"2.2","_id":"@types/find-root@1.1.1","dist":{"shasum":"1cc5a8008aa3273f870f2ae17bb3461a1632d4b8","size":1752,"noattachment":false,"key":"/@types/find-root/-/@types/find-root-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/find-root/download/@types/find-root-1.1.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_1.1.1_1521845520289_0.25440780019999854"},"_hasShrinkwrap":false,"publish_time":1521845520352,"_cnpm_publish_time":1521845520352},"1.1.0":{"name":"@types/find-root","version":"1.1.0","description":"TypeScript definitions for find-root","license":"MIT","contributors":[{"name":"Arturas Molcanovas","url":"https://github.com/Alorel","githubUsername":"Alorel"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"13f4c80d2208c1e14fa4fa42d66f60ca6fe0ea57e99f6695897a579a77bb3116","typeScriptVersion":"2.2","_id":"@types/find-root@1.1.0","dist":{"shasum":"55caed3dd08cd14e12ef456f34ef34c31f577c81","size":1753,"noattachment":false,"key":"/@types/find-root/-/@types/find-root-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/find-root/download/@types/find-root-1.1.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root-1.1.0.tgz_1516227457794_0.12088041030801833"},"directories":{},"publish_time":1516227457901,"_hasShrinkwrap":false,"_cnpm_publish_time":1516227457901}},"readme":"# Installation\r\n> `npm install --save @types/find-root`\r\n\r\n# Summary\r\nThis package contains type definitions for find-root (https://github.com/js-n/find-root).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/find-root.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/find-root/index.d.ts)\r\n````ts\r\ntype FindRootCheckFn = (dir: string) => boolean;\n\n/**\n * Returns the path for the nearest directory to startingPath containing a package.json file. If a check function is\n * provided, then this will return the nearest directory for which the function returns true.\n * @param startingPath The path to start searching from, e.g. __dirname\n * @param check The check predicate\n * @throws {Error} if package.json cannot be found or if the function never returns true\n */\ndeclare function findRoot(startingPath: string, check?: FindRootCheckFn): string;\n\nexport = findRoot;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 03:09:37 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Arturas Molcanovas](https://github.com/Alorel).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/find-root","license":"MIT"}