{"_id":"@types/gaze","_rev":"2803051","name":"@types/gaze","description":"TypeScript definitions for gaze","dist-tags":{"latest":"1.1.2","ts3.1":"1.1.0","ts3.2":"1.1.0","ts3.3":"1.1.0","ts3.4":"1.1.0","ts3.5":"1.1.0","ts3.6":"1.1.1","ts3.7":"1.1.1","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.2","ts4.6":"1.1.2","ts4.7":"1.1.2","ts4.8":"1.1.2","ts4.9":"1.1.2"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2022-09-01T09:22:13.000Z","created":"2020-03-17T15:08:22.905Z","1.1.2":"2021-12-23T23:53:00.651Z","1.1.1":"2021-07-06T20:58:35.700Z","1.1.0":"2020-03-17T15:08:22.905Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/gaze"},"versions":{"1.1.2":{"name":"@types/gaze","version":"1.1.2","description":"TypeScript definitions for gaze","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gaze","license":"MIT","contributors":[{"name":"DefinitelyTyped","url":"https://github.com/DefinitelyTyped","githubUsername":"DefinitelyTyped"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/gaze"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"2248a868de691debc00e1455ce672a0ac195340bb2ffdd52b6d5db5d4450d17b","typeScriptVersion":"3.8","_id":"@types/gaze@1.1.2","dist":{"shasum":"910715fc531ecaa5bcf48deaadaf8f3d55ec770f","size":2206,"noattachment":false,"key":"/@types/gaze/-/@types/gaze-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/gaze/download/@types/gaze-1.1.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gaze_1.1.2_1640303580515_0.2921023476023499"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-25T23:34:00.855Z","publish_time":1640303580651,"_cnpm_publish_time":1640303580651},"1.1.1":{"name":"@types/gaze","version":"1.1.1","description":"TypeScript definitions for gaze","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gaze","license":"MIT","contributors":[{"name":" Adam Zerella","url":"https://github.com/adamzerella","githubUsername":"adamzerella"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/gaze"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"ea3216efeb118f0eb827a658a074acefb77349c7ef2538467f8d6a7b686803e5","typeScriptVersion":"3.6","_id":"@types/gaze@1.1.1","dist":{"shasum":"5a07aedbb682d23917d6a5cb170ab6ed556f6a6f","size":2225,"noattachment":false,"key":"/@types/gaze/-/@types/gaze-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/gaze/download/@types/gaze-1.1.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gaze_1.1.1_1625605115562_0.5487133050174402"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:44:07.469Z","publish_time":1625605115700,"_cnpm_publish_time":1625605115700},"1.1.0":{"name":"@types/gaze","version":"1.1.0","description":"TypeScript definitions for gaze","license":"MIT","contributors":[{"name":" Adam Zerella","url":"https://github.com/adamzerella","githubUsername":"adamzerella"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/gaze"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"259048e4f2ea865463cc7fc92d7a6937667cbd70463748ef0ef23b5a7975dd39","typeScriptVersion":"3.1","_id":"@types/gaze@1.1.0","dist":{"shasum":"21d800688eba9f5fab955648b7946083c0074a9b","size":2146,"noattachment":false,"key":"/@types/gaze/-/@types/gaze-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/gaze/download/@types/gaze-1.1.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gaze_1.1.0_1584457702753_0.4563751870248953"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:44:07.353Z","publish_time":1584457702905,"_cnpm_publish_time":1584457702905}},"readme":"# Installation\r\n> `npm install --save @types/gaze`\r\n\r\n# Summary\r\nThis package contains type definitions for gaze (https://github.com/shama/gaze).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gaze.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gaze/index.d.ts)\r\n````ts\r\n// Type definitions for gaze 1.1\n// Project: https://github.com/shama/gaze\n// Definitions by:  Adam Zerella <https://github.com/adamzerella>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// Minimum TypeScript Version: 3.1\n\ntype Mode = 'auto' | 'watch' | 'poll';\n\ninterface Options {\n    /**\n     * Interval to pass to fs.watchFile.\n     */\n    interval?: number | undefined;\n    /**\n     * Delay for events called in succession for the same file/event in milliseconds.\n     */\n    debounceDelay?: number | undefined;\n    /**\n     * Force the watch mode. Either 'auto' (default),\n     * 'watch' (force native events), or 'poll' (force stat polling).\n     */\n    mode?: Mode | undefined;\n    /**\n     * The current working directory to base file patterns from. Default is `process.cwd()`.\n     */\n    cwd?: string | undefined;\n}\n\ndeclare namespace gaze {\n    class Gaze {\n        constructor(\n            patterns: string | string[],\n            options?: Options | null,\n            callback?: (error: Error | null, watcher: Gaze) => void\n        );\n\n        /**\n         * Wrapper for EventEmitter.emit. `added`|`changed`|`renamed`|`deleted` events will also trigger the `all` event.\n         */\n        emit(event: string, ...args: any): boolean;\n\n        /**\n         * Unwatch all files and reset the watch instance.\n         */\n        close(): void;\n\n        /**\n         * Adds file(s) patterns to be watched.\n         */\n        add(patterns: string | string[]): void;\n\n        /**\n         * Removes a file or directory from being watched. Does not recurse directories.\n         */\n        remove(filepath: string): void;\n\n        /**\n         * Returns the currently watched files.\n         */\n        watched(): string[];\n\n        /**\n         * Returns the currently watched files with relative paths.\n         */\n        relative(dir: string, unixify: boolean): string[];\n    }\n}\n\ndeclare function gaze(\n    patterns: string | string[],\n    options?: Options | null,\n    callback?: (error: Error | null, watcher: gaze.Gaze) => void\n): void;\n\nexport = gaze;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 06 Jul 2021 20:33:03 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [ Adam Zerella](https://github.com/adamzerella).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gaze","license":"MIT"}