{"_id":"@types/fb-watchman","_rev":"2930985","name":"@types/fb-watchman","description":"TypeScript definitions for fb-watchman","dist-tags":{"latest":"2.0.1","ts2.0":"2.0.0","ts2.1":"2.0.0","ts2.2":"2.0.0","ts2.3":"2.0.0","ts2.4":"2.0.0","ts2.5":"2.0.0","ts2.6":"2.0.0","ts2.7":"2.0.0","ts2.8":"2.0.0","ts2.9":"2.0.0","ts3.0":"2.0.0","ts3.1":"2.0.0","ts3.2":"2.0.0","ts3.3":"2.0.0","ts3.4":"2.0.0","ts3.5":"2.0.0","ts3.6":"2.0.1","ts3.7":"2.0.1","ts3.8":"2.0.1","ts3.9":"2.0.1","ts4.0":"2.0.1","ts4.1":"2.0.1","ts4.2":"2.0.1","ts4.3":"2.0.1","ts4.4":"2.0.1","ts4.5":"2.0.1","ts4.6":"2.0.1","ts4.7":"2.0.1","ts4.8":"2.0.1","ts4.9":"2.0.1","ts5.0":"2.0.1","ts5.1":"2.0.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-03-14T06:28:14.000Z","created":"2018-04-09T17:00:21.566Z","2.0.1":"2021-07-06T20:52:58.091Z","2.0.0":"2018-04-09T17:00:21.566Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/fb-watchman"},"versions":{"2.0.1":{"name":"@types/fb-watchman","version":"2.0.1","description":"TypeScript definitions for fb-watchman","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fb-watchman","license":"MIT","contributors":[{"name":"Wu Haotian","url":"https://github.com/whtsky","githubUsername":"whtsky"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/fb-watchman"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"8d386e20c1519100015c00ba82cc75551b4e5b9f657f6f776ef23d2b2fe4ec0b","typeScriptVersion":"3.6","_id":"@types/fb-watchman@2.0.1","dist":{"shasum":"4f44c7b7ac98463488765d41d269272dd34cb815","size":1940,"noattachment":false,"key":"/@types/fb-watchman/-/@types/fb-watchman-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/fb-watchman/download/@types/fb-watchman-2.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/fb-watchman_2.0.1_1625604777947_0.6300251873621106"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:32:36.634Z","publish_time":1625604778091,"_cnpm_publish_time":1625604778091},"2.0.0":{"name":"@types/fb-watchman","version":"2.0.0","description":"TypeScript definitions for fb-watchman","license":"MIT","contributors":[{"name":"Wu Haotian","url":"https://github.com/whtsky","githubUsername":"whtsky"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/events":"*"},"typesPublisherContentHash":"3110596bd3123db0724a3ca257be1784e4f3c490555fc2a37e3588bc7518c4b7","typeScriptVersion":"2.0","_id":"@types/fb-watchman@2.0.0","dist":{"shasum":"ca60ded406baa8c81c65ac1f86763a5d00aa7c55","size":1881,"noattachment":false,"key":"/@types/fb-watchman/-/@types/fb-watchman-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/fb-watchman/download/@types/fb-watchman-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/fb-watchman_2.0.0_1523293221517_0.034051669642624516"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:32:36.529Z","publish_time":1523293221566,"_cnpm_publish_time":1523293221566}},"readme":"# Installation\r\n> `npm install --save @types/fb-watchman`\r\n\r\n# Summary\r\nThis package contains type definitions for fb-watchman (https://facebook.github.io/watchman/).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fb-watchman.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fb-watchman/index.d.ts)\r\n````ts\r\n// Type definitions for fb-watchman 2.0\n// Project: https://facebook.github.io/watchman/\n// Definitions by: Wu Haotian <https://github.com/whtsky>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\nimport { EventEmitter } from 'events';\n\n// Emit the responses to these when they get sent down to us\nexport type UnilateralTags = 'unilateralTags' | 'log';\n\nexport interface ClientOptions {\n  /**\n   * Absolute path to the watchman binary.\n   * If not provided, the Client locates the binary using the PATH specified\n   * by the node child_process's default env.\n   */\n  watchmanBinaryPath?: string | undefined;\n}\n\nexport interface Capabilities {\n  optional: any[];\n  required: any[];\n}\n\nexport type doneCallback = (error?: Error | null, resp?: any) => any;\n\nexport class Client extends EventEmitter {\n  constructor(options?: ClientOptions)\n  sendNextCommand(): void;\n  cancelCommands(why: string): void;\n  connect(): void;\n  command(args: any, done: doneCallback): void;\n  capabilityCheck(\n    caps: Capabilities,\n    done: doneCallback,\n  ): void;\n  end(): void;\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 06 Jul 2021 20:32:53 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Wu Haotian](https://github.com/whtsky).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fb-watchman","license":"MIT"}