{"_id":"@types/parcel__watcher","_rev":"3751630","name":"@types/parcel__watcher","description":"TypeScript definitions for @parcel/watcher","dist-tags":{"latest":"2.0.5","ts2.8":"2.0.0","ts2.9":"2.0.0","ts3.0":"2.0.0","ts3.1":"2.0.0","ts3.2":"2.0.1","ts3.3":"2.0.1","ts3.4":"2.0.1","ts3.5":"2.0.1","ts3.6":"2.0.2","ts3.7":"2.0.2","ts3.8":"2.0.2","ts3.9":"2.0.2","ts4.0":"2.0.2","ts4.1":"2.0.2","ts4.2":"2.0.2","ts4.3":"2.0.2","ts4.4":"2.0.2","ts4.5":"2.0.5","ts4.6":"2.0.5","ts4.7":"2.0.5","ts4.8":"2.0.5","ts4.9":"2.0.5","ts5.0":"2.0.5","ts5.1":"2.0.5","ts5.2":"2.0.5","ts5.3":"2.0.5","ts5.4":"2.0.5","ts5.5":"2.0.5","ts5.6":"2.0.5","ts5.7":"2.0.5","ts5.8":"2.0.5","ts5.9":"2.0.5"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2025-03-04T06:14:05.000Z","created":"2020-04-27T11:53:43.715Z","2.0.5":"2023-11-07T12:32:48.235Z","2.0.4":"2023-10-18T10:32:58.650Z","2.0.3":"2023-09-24T06:40:21.101Z","2.0.2":"2021-07-08T20:32:40.847Z","2.0.1":"2020-09-26T00:51:23.438Z","2.0.0":"2020-04-27T11:53:43.715Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/parcel__watcher"},"versions":{"2.0.5":{"name":"@types/parcel__watcher","version":"2.0.5","description":"TypeScript definitions for @parcel/watcher","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parcel__watcher","license":"MIT","contributors":[{"name":"Matt Kane","githubUsername":"ascorbic","url":"https://github.com/ascorbic"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/parcel__watcher"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"890b1c8fe5fe43af0f766e9019dc4777126a904df3635f6e783371aa40681d04","typeScriptVersion":"4.5","_id":"@types/parcel__watcher@2.0.5","dist":{"shasum":"b5a13ea2b3ca8e6491acb135ac20819e31508ffd","size":1899,"noattachment":false,"key":"/@types/parcel__watcher/-/@types/parcel__watcher-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/parcel__watcher/download/@types/parcel__watcher-2.0.5.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parcel__watcher_2.0.5_1699360368021_0.6417083806080628"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T12:32:48.235Z","publish_time":1699360368235,"_source_registry_name":"default","_cnpm_publish_time":1699360368235},"2.0.4":{"name":"@types/parcel__watcher","version":"2.0.4","description":"TypeScript definitions for @parcel/watcher","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parcel__watcher","license":"MIT","contributors":[{"name":"Matt Kane","githubUsername":"ascorbic","url":"https://github.com/ascorbic"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/parcel__watcher"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"1b506350530329b00f343f4646ab5f0aee35550ff05a6a3f54632d36d868d773","typeScriptVersion":"4.5","_id":"@types/parcel__watcher@2.0.4","dist":{"shasum":"f52c7688e79538f0be5a97cdd9a172c16eb60b5f","size":1902,"noattachment":false,"key":"/@types/parcel__watcher/-/@types/parcel__watcher-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/parcel__watcher/download/@types/parcel__watcher-2.0.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parcel__watcher_2.0.4_1697625178456_0.4268957993636622"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T10:32:58.650Z","publish_time":1697625178650,"_source_registry_name":"default","_cnpm_publish_time":1697625178650},"2.0.3":{"name":"@types/parcel__watcher","version":"2.0.3","description":"TypeScript definitions for @parcel/watcher","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parcel__watcher","license":"MIT","contributors":[{"name":"Matt Kane","url":"https://github.com/ascorbic","githubUsername":"ascorbic"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/parcel__watcher"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"ddf112e26c194de281febb1785b3c70e83bef8f5294c10c8393052b251cdfb57","typeScriptVersion":"4.5","_id":"@types/parcel__watcher@2.0.3","dist":{"shasum":"873aa33fa116849136f149699686d57e510ebacd","size":1963,"noattachment":false,"key":"/@types/parcel__watcher/-/@types/parcel__watcher-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/parcel__watcher/download/@types/parcel__watcher-2.0.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parcel__watcher_2.0.3_1695537620890_0.6329503877217595"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-24T06:40:21.101Z","publish_time":1695537621101,"_source_registry_name":"default","_cnpm_publish_time":1695537621101},"2.0.2":{"name":"@types/parcel__watcher","version":"2.0.2","description":"TypeScript definitions for @parcel/watcher","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parcel__watcher","license":"MIT","contributors":[{"name":"Matt Kane","url":"https://github.com/ascorbic","githubUsername":"ascorbic"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/parcel__watcher"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"2aa9407e8404b1a9826909f48359b75f4069ed30d96d1d7fe0599ff1cfd6dc17","typeScriptVersion":"3.6","_id":"@types/parcel__watcher@2.0.2","dist":{"shasum":"ab2b518b0faa04828f54c2f75b3f1f64d58dda64","size":1905,"noattachment":false,"key":"/@types/parcel__watcher/-/@types/parcel__watcher-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/parcel__watcher/download/@types/parcel__watcher-2.0.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parcel__watcher_2.0.2_1625776360724_0.1610701286896994"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-25T23:38:41.334Z","publish_time":1625776360847,"_cnpm_publish_time":1625776360847},"2.0.1":{"name":"@types/parcel__watcher","version":"2.0.1","description":"TypeScript definitions for @parcel/watcher","license":"MIT","contributors":[{"name":"Matt Kane","url":"https://github.com/ascorbic","githubUsername":"ascorbic"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/parcel__watcher"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"b4d9093aa738a6d2e10b00ba50947f6229c32f21269ba41e3fbe03335f50d8bc","typeScriptVersion":"3.2","_id":"@types/parcel__watcher@2.0.1","dist":{"shasum":"a31271df4c9586cdf357add6c4391f92d2f7a214","size":1831,"noattachment":false,"key":"/@types/parcel__watcher/-/@types/parcel__watcher-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/parcel__watcher/download/@types/parcel__watcher-2.0.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parcel__watcher_2.0.1_1601081483276_0.7950555409750937"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-25T23:38:40.258Z","publish_time":1601081483438,"_cnpm_publish_time":1601081483438},"2.0.0":{"name":"@types/parcel__watcher","version":"2.0.0","description":"TypeScript definitions for @parcel/watcher","license":"MIT","contributors":[{"name":"Matt Kane","url":"https://github.com/ascorbic","githubUsername":"ascorbic"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/parcel__watcher"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"66cb1301659c7aecac31df7b1860ddd406fc60039144dfd4017c442085b7813e","typeScriptVersion":"2.8","_id":"@types/parcel__watcher@2.0.0","dist":{"shasum":"b5d4cb19674a0ecbc7f12a92fe237e5bd93d513c","size":1832,"noattachment":false,"key":"/@types/parcel__watcher/-/@types/parcel__watcher-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/parcel__watcher/download/@types/parcel__watcher-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/parcel__watcher_2.0.0_1587988423599_0.008849644759117536"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-25T23:38:39.401Z","publish_time":1587988423715,"_cnpm_publish_time":1587988423715}},"readme":"# Installation\r\n> `npm install --save @types/parcel__watcher`\r\n\r\n# Summary\r\nThis package contains type definitions for @parcel/watcher (https://github.com/parcel-bundler/watcher#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parcel__watcher.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parcel__watcher/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\"/>\n\nexport class ParcelWatcherSubscription {\n    unsubscribe(): Promise<void>;\n}\n\nexport type ParcelWatcherEventType = \"create\" | \"update\" | \"delete\";\n\nexport interface ParcelWatcherEvent {\n    type: ParcelWatcherEventType;\n    path: string;\n}\n\nexport type ParcelWatcherBackend = \"fs-events\" | \"watchman\" | \"inotify\" | \"windows\" | \"brute-force\";\n\nexport interface ParcelWatcherOptions {\n    ignore?: string[] | undefined;\n    backend?: ParcelWatcherBackend | undefined;\n}\n\nexport type ParcelWatcherCallback = (error?: Error, events?: ParcelWatcherEvent[]) => any;\n\nexport function getEventsSince(\n    dirPath: string,\n    snapshotPath: string,\n    options?: ParcelWatcherOptions,\n): Promise<ParcelWatcherEvent[]>;\n\nexport function subscribe(\n    dirPath: string,\n    callback: ParcelWatcherCallback,\n    options?: ParcelWatcherOptions,\n): Promise<ParcelWatcherSubscription>;\n\nexport function unsubscribe(\n    dirPath: string,\n    callback: ParcelWatcherCallback,\n    options?: ParcelWatcherOptions,\n): Promise<void>;\n\nexport function writeSnapshot(dirPath: string, snapshotPath: string, options?: ParcelWatcherOptions): Promise<void>;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 09:09:39 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n\r\n# Credits\r\nThese definitions were written by [Matt Kane](https://github.com/ascorbic).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parcel__watcher","license":"MIT"}