{"_id":"watch-detector","_rev":"13-be43ee1a4199d22237a5a25361d1052a","name":"watch-detector","dist-tags":{"latest":"1.0.3"},"versions":{"0.1.0":{"name":"watch-detector","version":"0.1.0","license":"MIT","_id":"watch-detector@0.1.0","maintainers":[{"name":"chrmod","email":"krzysztof.modras@gmail.com"}],"homepage":"https://github.com/chrmod/watch-detector#readme","bugs":{"url":"https://github.com/chrmod/watch-detector/issues"},"dist":{"shasum":"e37b410d149e2a8bf263a4f8b71e2f667633dbf8","tarball":"https://registry.npmjs.org/watch-detector/-/watch-detector-0.1.0.tgz","integrity":"sha512-vfzMMfpjQc88xjETwl2HuE6PjEuxCBeyC4bQmqrHrofdfYWi/4mEJklYbNgSzpqM9PxubsiPIrE5SZ1FDyiQ2w==","signatures":[{"sig":"MEYCIQCpWzl0UVLToGHT/7s9/4aeqVu1MaJs8bNYyEwSggjnYAIhAJbjU3Av28J9Q7jbvSR81xXOhTCoinMtnwKINK5KyGdv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","files":["lib/*"],"engines":{"node":">= 4"},"gitHead":"0ef7a1a360f03a6f1394556b99f100878e4c636b","scripts":{"lint":"eslint lib test","test":"mocha","lint:fix":"eslint --fix lib test"},"_npmUser":{"name":"chrmod","email":"krzysztof.modras@gmail.com"},"repository":{"url":"git+https://github.com/chrmod/watch-detector.git","type":"git"},"_npmVersion":"5.5.1","description":"","directories":{},"_nodeVersion":"7.4.0","dependencies":{"rsvp":"^4.7.0","semver":"^5.4.1","quick-temp":"^0.1.8","silent-error":"^1.1.0","heimdalljs-logger":"^0.1.9"},"devDependencies":{"chai":"^4.1.2","mocha":"^4.0.1","sinon":"^4.1.2","prettier":"^1.8.2","console-ui":"^2.0.1","sinon-chai":"^2.14.0","mocha-eslint":"^4.1.0","chai-as-promised":"^7.1.1","eslint-plugin-node":"^5.2.1","eslint-plugin-mocha":"^4.11.0","eslint-config-prettier":"^2.8.0","eslint-plugin-prettier":"^2.3.1"},"_npmOperationalInternal":{"tmp":"tmp/watch-detector-0.1.0.tgz_1513030206518_0.45198848540894687","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"watch-detector","version":"1.0.0","license":"MIT","_id":"watch-detector@1.0.0","maintainers":[{"name":"chrmod","email":"krzysztof.modras@gmail.com"},{"name":"kellyselden","email":"kellyselden@gmail.com"},{"name":"rwjblue","email":"me@rwjblue.com"},{"name":"stefanpenner","email":"stefan.penner@gmail.com"},{"name":"turbo87","email":"tobias.bieniek@gmx.de"}],"homepage":"https://github.com/chrmod/watch-detector#readme","bugs":{"url":"https://github.com/chrmod/watch-detector/issues"},"dist":{"shasum":"c7b722d8695fee9ab6071e0f38f258e6adb22609","tarball":"https://registry.npmjs.org/watch-detector/-/watch-detector-1.0.0.tgz","fileCount":5,"integrity":"sha512-siywMl3fXK30Tlpu/dUBHhlpxhQmHdguZ8OIb813eU9lrVmmsJa9k0+n1HtJ+7p3SzFCPq2XbmR3GUYpPC3TBA==","signatures":[{"sig":"MEUCIHtYNeyJbzpAlA7p93K2zomv1d8puhY8XON8mdCBrjnSAiEAzdT8xkyxTTzAghWPqPz0QY7JjXEEDfu0VzHRrWFG/a4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddCcqCRA9TVsSAnZWagAAPbMQAI3aVQHswjls7ZmRzsF2\nhwv6w9YrEeBbXngQuc89fNqXnJ0vQ23/MfiefpbNrYULX7xqhL3R2GhnBiMd\nuH66QUCqVQKZwqWFhgqUKmsqKPKqVhb3fLOgA57gxGTPQTLGsVBODnCsWkU8\nk4FlAhskXvFUxVzkX3z1bv5palYMEI8vgJMHEUsdTED2P0d8BKGoNIl25d7k\nu0rXEq3JGTueJ0WPwyeYuysBOb2pb69cQJHGAdxHRsMPwgcJXo+SEpUAfeHT\n6wbrgLoZbaxaMDkxcdkF3Pb+rmFcfGqZGq8ehZtoNbfkahCPh/lSii+5M6mT\nxpksVj5mbYiQYxGsRuUthaoFMGscPFWGNara0plbSqjXmm0+lLzhQSbbuITD\n+VdiJdBh0A/CulS6FTnhHNhcLasEE5UjYFvcLEpf6nh0ZWEU3md5VTuSWonZ\nXME3npSmKeMI8RxbO5uY6ZZlij1YnbT6ixhQ2diFmS53t2VTdInBGbnJuL/9\nA7upMhDAzUu4Ir3E02mG7bepsujAtV0hj8UTPPiN3nhwuMgeCgoBRgFbsu88\n4Z5NoWyRlUp9ohNlc55fyXC/WG/XMDXZ4tIZSsWPFPU+vYjwI8H3jGan2d34\nh4ylQ/4pD87pNF0kjXc0cD4PCeBVhdwgdgPJ6gqzZd9oo8upPYmVIYPYXfKM\nHz9w\r\n=QAIb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":">= 8"},"gitHead":"e9cdb276733408d1e6fefc028dd614970e2c40b7","scripts":{"lint":"eslint lib test","test":"mocha","lint:fix":"eslint --fix lib test"},"_npmUser":{"name":"rwjblue","email":"me@rwjblue.com"},"release-it":{"git":{"tagName":"v${version}"},"github":{"release":true},"plugins":{"release-it-lerna-changelog":{"infile":"CHANGELOG.md"}}},"repository":{"url":"git+https://github.com/chrmod/watch-detector.git","type":"git"},"_npmVersion":"6.10.2","description":"[![Build Status](https://travis-ci.org/chrmod/watch-detector.svg?branch=master)](https://travis-ci.org/chrmod/watch-detector)","directories":{},"_nodeVersion":"12.8.1","dependencies":{"tmp":"^0.1.0","semver":"^6.3.0","silent-error":"^1.1.1","heimdalljs-logger":"^0.1.10"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.0","sinon":"^7.4.2","prettier":"^1.18.2","console-ui":"^3.1.1","release-it":"^12.2.1","sinon-chai":"^3.3.0","mocha-eslint":"^5.0.0","chai-as-promised":"^7.1.1","eslint-plugin-node":"^10.0.0","eslint-plugin-mocha":"^6.1.0","eslint-config-prettier":"^6.2.0","eslint-plugin-prettier":"^3.1.0","release-it-lerna-changelog":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/watch-detector_1.0.0_1567893289696_0.6934939406825986","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"watch-detector","version":"1.0.1","license":"MIT","_id":"watch-detector@1.0.1","maintainers":[{"name":"chrmod","email":"krzysztof.modras@gmail.com"},{"name":"kellyselden","email":"kellyselden@gmail.com"},{"name":"rwjblue","email":"me@rwjblue.com"},{"name":"turbo87","email":"tobias.bieniek@gmail.com"},{"name":"stefanpenner","email":"stefan.penner@gmail.com"}],"homepage":"https://github.com/chrmod/watch-detector#readme","bugs":{"url":"https://github.com/chrmod/watch-detector/issues"},"dist":{"shasum":"3106a6b489284ec2ecaef0e65cf1b8ec9117296e","tarball":"https://registry.npmjs.org/watch-detector/-/watch-detector-1.0.1.tgz","fileCount":5,"integrity":"sha512-8sJ8rvNfg2ciqCa5IxIdmdxU/vuUe9V/jw+thXbdreELSv3+Cq6k8K42cLEL86W2td1PMmfNCWZuAhrZ/sD4mw==","signatures":[{"sig":"MEQCIHtOATussnJ8hUydQz3UIErJHcV3HvVAeJbLKgJqh/KHAiBcOKBHzk7m90SaA620lIuvft0wj7y5t39F03HxykcLSw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvjv8CRA9TVsSAnZWagAAVpMP/A6hkzPN+2SxiJg3EhKb\nxjOnoDVvBogvFqyELPqVwFQz9HI57oTffI+guZCjrXfewRbCa+Q1d+umOyHU\nVnd+dPvW+Ie3Gs6wes3jrfaNaOSwMH9P1QHpilmZw9UqLDcuegoeK3wsTgyY\n8LZ6wBIOYdbKjJ4VFV+F83QfDFDxwXcqCuvH2uEcqQY7iKeTu9T8BXGISsxU\n/q+D5qJDFsrIlmVDx9APi8rmHtSF4tgdYnHsSvEKY6+VZPgAHeQxJNOPvyK1\nczH3Y7ATMe9tiL8wkiWavLEBNE+omeMKDj8W4nUoAACZ7aM/dsyy4374bkeN\nUct+naNG9ecDw4j5F1IDGYhIJsMa8rm561tyGXhYH3l6bwtN7XBtg658lbwH\nJbKprhK3q/tXZqTF4V2334XZsrqMjufBSseIWFj05oNs3WyiiKD6LTI7RVOg\npFhGlGhg3mOqkloSjw8siksbTDmSlTOffO6JC1M0OMGES612tHQLh6okszsg\nMVjx59uPNYCOTNMhyr92kZ5Zd0dZ1u93KmjE8TLtYTJ8rg2REejF4dCPOJ6a\nsmOr1k/8Csvf3sfQvoSzvJu4RzI1kmVCs/c6kkmqjhb7JMOc91rc4qCYqHqH\nYvwQ+YiGg44INZjEp6ck/DGwfQKwQpEuW1OPEhdagxh8Q4K2FTDCq8qm17Az\nUqKL\r\n=uAH5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":">= 8"},"gitHead":"fda6cf73f2117225d34bb8388a9cf15df5a8d421","scripts":{"lint":"eslint lib test","test":"mocha","lint:fix":"eslint --fix lib test"},"_npmUser":{"name":"rwjblue","email":"me@rwjblue.com"},"release-it":{"git":{"tagName":"v${version}"},"github":{"release":true},"plugins":{"release-it-lerna-changelog":{"infile":"CHANGELOG.md"}}},"repository":{"url":"git+https://github.com/chrmod/watch-detector.git","type":"git"},"_npmVersion":"6.14.11","description":"[![Build Status](https://travis-ci.org/chrmod/watch-detector.svg?branch=master)](https://travis-ci.org/chrmod/watch-detector)","directories":{},"_nodeVersion":"14.15.4","dependencies":{"tmp":"^0.1.0","semver":"^6.3.0","silent-error":"^1.1.1","heimdalljs-logger":"^0.1.10"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.0","sinon":"^7.4.2","prettier":"^1.18.2","console-ui":"^3.1.1","release-it":"^12.2.1","sinon-chai":"^3.3.0","mocha-eslint":"^5.0.0","chai-as-promised":"^7.1.1","eslint-plugin-node":"^10.0.0","eslint-plugin-mocha":"^6.1.0","eslint-config-prettier":"^6.2.0","eslint-plugin-prettier":"^3.1.0","release-it-lerna-changelog":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/watch-detector_1.0.1_1623079932322_0.4171777128755916","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"watch-detector","version":"1.0.2","license":"MIT","_id":"watch-detector@1.0.2","maintainers":[{"name":"chrmod","email":"krzysztof.modras@gmail.com"},{"name":"kellyselden","email":"kellyselden@gmail.com"},{"name":"rwjblue","email":"me@rwjblue.com"},{"name":"turbo87","email":"tobias.bieniek@gmail.com"},{"name":"stefanpenner","email":"stefan.penner@gmail.com"}],"homepage":"https://github.com/chrmod/watch-detector#readme","bugs":{"url":"https://github.com/chrmod/watch-detector/issues"},"dist":{"shasum":"95deb9189f8c89c0a9f211739cef6d01cffcf452","tarball":"https://registry.npmjs.org/watch-detector/-/watch-detector-1.0.2.tgz","fileCount":5,"integrity":"sha512-MrJK9z7kD5Gl3jHBnnBVHvr1saVGAfmkyyrvuNzV/oe0Gr1nwZTy5VSA0Gw2j2Or0Mu8HcjUa44qlBvC2Ofnpg==","signatures":[{"sig":"MEQCIAOBdVWCLDBxtdqVQGDKWASqlqtUOlwzvGkGYYdFIk8bAiAvr+/cO0O3iwPseDVAwG7zS8a+wKtEv0YjUIIuZuYoSw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4tCnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/bw//aAdBXoVVMJx9PkdQdTw4LN6VV6oW3vT1vuvMt7w4fgvyPBdK\r\n4CkWLFx/qZgSLXIPfkvjyfAIBLEC4KtJakrvek8ADBtE8FmQxm+nZpl2st19\r\nGuSwzfAbtCQIshEJkL3893urFoEYNdUVdYbAZFt6/iQ3RkZ+UJiV+RsI4PKO\r\nSdxqsIdKw2nPD9YW6CD/tPW1F/PQCtVRy6otULFeYk6D2eEZDlGo4vg7RhbP\r\nCf17pCIWCjfPSx+tQ3h6+tEt4Q8efkwPp9yQ2zBHBH+fkW8mpkRkQ/EEpt/J\r\n7itsiDU1il3+AVKONLpfYynho15BDj6jgWcEfCrvLeo0+2KFb3jWNdNGPHfz\r\njbR0vhgnX/xo+eaN+mpd385nepJ1zsK3RRrtbt/AQCAJxmeLj23RjpGrAT0j\r\nlGkpco3BZthMGoDqcWa/wwZkw3n09vcY9P/VBbRaYhzUa8j58vONPKG9wcHv\r\nyniXuU3yaD4Itw1zXYnQD/t8Wpx/RqsgiwDL6NLy7kKIJRiv0aFRU0Nw4JRp\r\n4PxRyUU0M2Rszf4MN9GfMx2Bjuj2FGwSOD0zd+CtY0kjfKgBCwQjdcnXyUOy\r\n+vboU2LUilEdnB7VCDuo75Upu4VbaQfMKSS/jVrtbmcAcrquR7HRx8qjwKOp\r\nv451eQ4/OeEfY/dd0ttG6gcXNxmNVpeYSh4=\r\n=ML7g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":">= 8"},"gitHead":"41bcf1494c85ceda7dfd583881a3ea7088105dd9","scripts":{"lint":"eslint lib test","test":"mocha","lint:fix":"eslint --fix lib test"},"_npmUser":{"name":"kellyselden","email":"kellyselden@gmail.com"},"release-it":{"git":{"tagName":"v${version}"},"github":{"release":true},"plugins":{"release-it-lerna-changelog":{"infile":"CHANGELOG.md"}}},"repository":{"url":"git+https://github.com/chrmod/watch-detector.git","type":"git"},"_npmVersion":"6.14.17","description":"[![Build Status](https://travis-ci.org/chrmod/watch-detector.svg?branch=master)](https://travis-ci.org/chrmod/watch-detector)","directories":{},"_nodeVersion":"14.20.0","dependencies":{"tmp":"^0.1.0","silent-error":"^1.1.1","heimdalljs-logger":"^0.1.10"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.0","sinon":"^7.4.2","prettier":"^1.18.2","console-ui":"^3.1.1","release-it":"^12.2.1","sinon-chai":"^3.3.0","mocha-eslint":"^5.0.0","chai-as-promised":"^7.1.1","eslint-plugin-node":"^10.0.0","eslint-plugin-mocha":"^6.1.0","eslint-config-prettier":"^6.2.0","eslint-plugin-prettier":"^3.1.0","release-it-lerna-changelog":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/watch-detector_1.0.2_1659031719465_0.35547129528227606","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"watch-detector","version":"1.0.3","description":"[![Build Status](https://travis-ci.org/chrmod/watch-detector.svg?branch=master)](https://travis-ci.org/chrmod/watch-detector)","homepage":"https://github.com/ember-cli/watch-detector#readme","bugs":{"url":"https://github.com/ember-cli/watch-detector/issues"},"repository":{"type":"git","url":"git+https://github.com/ember-cli/watch-detector.git"},"license":"MIT","main":"lib/index.js","dependencies":{"heimdalljs-logger":"^0.1.10","silent-error":"^1.1.1","tmp":"^0.2.5"},"devDependencies":{"chai":"^4.2.0","chai-as-promised":"^7.1.1","console-ui":"^3.1.1","eslint":"^5.16.0","eslint-config-prettier":"^6.2.0","eslint-plugin-mocha":"^6.1.0","eslint-plugin-node":"^10.0.0","eslint-plugin-prettier":"^3.1.0","mocha":"^6.2.0","prettier":"^1.18.2","release-plan":"^0.18.0","sinon":"^7.4.2","sinon-chai":"^3.3.0"},"engines":{"node":">= 8"},"publishConfig":{"registry":"https://registry.npmjs.org"},"scripts":{"lint":"eslint lib test","lint:fix":"eslint --fix lib test","test":"mocha"},"_id":"watch-detector@1.0.3","_integrity":"sha512-c9gP6tfJ8vK+eH84IF4+8r4Z/g2KhRc+XwLGl208tAIHR1mz0o7zy5Hkm+4XpACh8lNp9/EHqXHIQkw2nBbdYA==","_resolved":"/tmp/5c5ea90d2ff120503b4e9f13ad4de02c/watch-detector-1.0.3.tgz","_from":"file:watch-detector-1.0.3.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-c9gP6tfJ8vK+eH84IF4+8r4Z/g2KhRc+XwLGl208tAIHR1mz0o7zy5Hkm+4XpACh8lNp9/EHqXHIQkw2nBbdYA==","shasum":"e5aeef6e026a3258c94ffbd09384acaaffddd876","tarball":"https://registry.npmjs.org/watch-detector/-/watch-detector-1.0.3.tgz","fileCount":4,"unpackedSize":10204,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/watch-detector@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCB1qIpS9b6mDc5xjGN5qH9vu7V98iN5Kl7sYLsgy9mIgIhAPeCGyoKi2/NbkI091un0QYvM4o/d5oZNcyG5APG9MS1"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:55d828fd-3adf-441e-9fd5-8604d61b749f"}},"directories":{},"maintainers":[{"name":"real_ate","email":"chris@manson.ie"},{"name":"kellyselden","email":"npm.8o075@dralias.com"},{"name":"rwjblue","email":"me@rwjblue.com"},{"name":"katiegengler","email":"katie@kmg.io"},{"name":"turbo87","email":"tobias.bieniek@gmail.com"},{"name":"stefanpenner","email":"stefan.penner@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/watch-detector_1.0.3_1787261685970_0.7173384311092434"},"_hasShrinkwrap":false}},"time":{"created":"2017-12-11T22:10:07.421Z","modified":"2026-08-20T21:34:46.407Z","0.1.0":"2017-12-11T22:10:07.421Z","1.0.0":"2019-09-07T21:54:49.851Z","1.0.1":"2021-06-07T15:32:12.455Z","1.0.2":"2022-07-28T18:08:39.646Z","1.0.3":"2026-08-20T21:34:46.123Z"},"bugs":{"url":"https://github.com/ember-cli/watch-detector/issues"},"license":"MIT","homepage":"https://github.com/ember-cli/watch-detector#readme","repository":{"type":"git","url":"git+https://github.com/ember-cli/watch-detector.git"},"description":"[![Build Status](https://travis-ci.org/chrmod/watch-detector.svg?branch=master)](https://travis-ci.org/chrmod/watch-detector)","maintainers":[{"name":"real_ate","email":"chris@manson.ie"},{"name":"kellyselden","email":"npm.8o075@dralias.com"},{"name":"rwjblue","email":"me@rwjblue.com"},{"name":"katiegengler","email":"katie@kmg.io"},{"name":"turbo87","email":"tobias.bieniek@gmail.com"},{"name":"stefanpenner","email":"stefan.penner@gmail.com"}],"readme":"# watch-detector\n[![Build Status](https://travis-ci.org/chrmod/watch-detector.svg?branch=master)](https://travis-ci.org/chrmod/watch-detector)\n\nUtility for selecting the best options for  `sane`:\n\nwatcher options:\n\n* `watchman`: if a valid version of watchman is installed, we will prefer this.\n* `node`: use node's built in watcher, if watchman is not present.\n\n\nfuture options:\n\n* `fs-events`: https://github.com/chrmod/watch-detector/issues/6\n\n\n## usage\n\n```sh\nyarn add watch-detector\n```\n\n```js\nconst WatchDetector = require('watch-detector');\nconst sane = require('sane');\n\nlet detector = new WatchDetector();\nlet saneOptions = {\n  /* sane options */\n};\n\nlet options = detector.findBestWatcherOption(saneOptions)\n/* options's watcher selection will be based on various heuristics */\nsane(root, options);\n```\n\n\n## optional\n\n```js\nnew WatchDetector({\n  ui: /* console-ui instance */,\n  fs: /* fs instance */\n});\n```\n","readmeFilename":"README.md"}