{"_id":"@darthcucumber/eyes-on","_rev":"4-4cadcf6dd8cac0bbb574160661176d84","name":"@darthcucumber/eyes-on","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@darthcucumber/eyes-on","version":"1.0.0","description":"minimal cross-platform file watcher","main":"eyes-on.js","bin":{"eyeson":"eyes-on.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/DarthCucumber/node-eyeson.git"},"keywords":["cli","command line utility","file watcher","command line tool"],"author":{"name":"Souvik Kar Mahapatra","email":"souvikat001@gmail.com","url":"https://github.com/DarthCucumber"},"license":"MIT","bugs":{"url":"https://github.com/DarthCucumber/node-eyeson/issues"},"homepage":"https://github.com/DarthCucumber/node-eyeson#readme","dependencies":{"chalk":"^4.1.0","termparse":"^1.0.0"},"devDependencies":{},"gitHead":"335ecb11e892e8d693908eb94a31182f9106c98c","_id":"@darthcucumber/eyes-on@1.0.0","_nodeVersion":"10.19.0","_npmVersion":"6.14.9","dist":{"integrity":"sha512-7Z/cVrZdQu4DeGANu1+IGmXp0B6VSVQvb42EyF+xcWcs7CXJUQzIV8obZKlYA5HikotUqv0TrTB9KmPhwMjiMQ==","shasum":"27af9b8503c533ad65c76fcc128382d549c9fa97","tarball":"https://registry.npmjs.org/@darthcucumber/eyes-on/-/eyes-on-1.0.0.tgz","fileCount":6,"unpackedSize":117682521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2NovCRA9TVsSAnZWagAAGLkQAITtFGn84XfyyEhwYY5B\nrPojTRJ9z/BbtgbbApmHb1KD0dK44eII8L2ke/GGnzNVoR3tPMZdc2R6K6dX\neVXtJhmlPbvDFhFi+t3pKAkLv7SI0THBcrZj7ouVJMc0dUOIPXDAd+f+3aSS\nB1MsLnIZuT/5McFq1lE+yA9ZPs/lfZ5xdXOXv6vauqoWDhLBC3fVCjQBhs+g\n8oANitR1rpmppryoiBSmvtlTXmp26BK2R5FlhcFiSTXo49XDcA9xUkQMLA+y\n1cF9iKNuPpaG4QHJ7ceAyBD2hdfD/WHgs5SCZmwjIOBHDDyDhAUGFEx3mOEp\n36rL2lzEqOB9O/H0qL0wvXNbYyYjD9L6rlTprqVGO22WAZ+KT2cyD0MfePnc\nZrVVLZa3LHxX5o84qN73XNq8lSqPFCnPgZ44LRPhyxdK0KhFEe21BpZSlDRi\nrWPZvqB4AM9VOfExJ3duBPNOw/TUCVnEdreDXtNATlRK5/Md8PpJxfMh3TGB\nffGTU6EnRInIwor9KIMRd5lG42Y6GEvo0mT4Pk+u/OBqfY04f/D75WkHCHqU\nQvfeCMP8RMQHsyGgeYspWUBVeSFYAJuguUeL/7aztNNTmP7cNW+Knzvdv8Fb\nejRu4ajUXCu1MOmTCoHd4rsU4XdLAKyXGSURHwqXDTRihiuZcV4DEvvOtVjl\nGpo9\r\n=hfdP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClBYDCwL81En9eswAedb4z3ZPuqtT6rmmXuZ6JpHuf5gIgXp5VsLdIBvoCoe90z74FW5E5WUpKLuTmnIuHJSQ2m34="}]},"_npmUser":{"name":"darthcucumber","email":"souvikat001@gmail.com"},"directories":{},"maintainers":[{"name":"darthcucumber","email":"souvikat001@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eyes-on_1.0.0_1608047150757_0.5055079278178254"},"_hasShrinkwrap":false},"1.0.1":{"name":"@darthcucumber/eyes-on","version":"1.0.1","description":"minimal cross-platform file watcher","main":"eyes-on.js","bin":{"eyeson":"eyes-on.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/DarthCucumber/node-eyeson.git"},"keywords":["cli","command line utility","file watcher","command line tool"],"author":{"name":"Souvik Kar Mahapatra","email":"souvikat001@gmail.com","url":"https://github.com/DarthCucumber"},"license":"MIT","bugs":{"url":"https://github.com/DarthCucumber/node-eyeson/issues"},"homepage":"https://github.com/DarthCucumber/node-eyeson#readme","dependencies":{"chalk":"^4.1.0","termparse":"^1.0.0"},"devDependencies":{},"gitHead":"335ecb11e892e8d693908eb94a31182f9106c98c","_id":"@darthcucumber/eyes-on@1.0.1","_nodeVersion":"10.19.0","_npmVersion":"6.14.9","dist":{"integrity":"sha512-JpS4vfls8+gFXKvP64RmcaWcGNnUK9e8JGZMV4RoTI6ghQEgDOGSp4uoHYoq/razh8J7UqT1t+cRGKnwS39QyA==","shasum":"439a5510b1e9839efe5c06720ea032ea81401281","tarball":"https://registry.npmjs.org/@darthcucumber/eyes-on/-/eyes-on-1.0.1.tgz","fileCount":6,"unpackedSize":117682521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2NvYCRA9TVsSAnZWagAAiHsP/jKwlWOi3u30MlvxfyOr\nFZ7I5rRxKwQyHEa1aa8vq15U9+GKd5KUuuw7ZSvylpzyu4z1it2cO5cZSGl9\no6r6UuBxAjLQCvTbnCI7MZ2XqciA2DGKf029U/VX4BE36fH5F+2S2xZcMXbn\nvCLVasdQuzmY17XGaUPdCd8Lz2qyaEkodNJoHUEJ41kAWYAteq0vyePiIWKq\nnQFaZF5couoGvb0cGnhreGCqqBUokoQ9WI6+9qXuS/aCt7In61T0ln1h06s+\nBXWU6aV1KE1SBco4RZjVhuGpQTNKxjRYw8HnMFn15T8+Xm466NmU+YlMPbt2\nc5wgOVZvcsx0+hulwhhUSlXssULhj3B0L16Y1lC6FPsiYmOJt0fE73kTOOG8\n07v6DWmIevSjucivajcRf7xmHjRR5033DEJbFFHQP+ZXg90CzuA3qB2uJlAt\nTCTySRGED4mvtVYUEyT6iprBF32xU6TigtyDKI3GWn9xwG5GRvhIBY87qwFC\nsq/ijIg34jYYn+SQw8+5bJqvn7pY92eLIF1SWxAiXEoNlEGyvUFa2bIEg42b\nfcPAMZcNg+dTBK0y+oBW295kRR+xmDLDOwGyXLpQbx/G4U9ggw+ToGhvYeOo\nvC0yTtOzRgKnJNOLHY+vuNWwkTkYJZibZ5fZss3DeMZB/1F+TogQCXRcsVW7\nC0+J\r\n=+gVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPRNXbBcbx6jXft+BR3e/YuiZBteLdmSTVusxkbeBd3wIgHgVdfuChI8t1K6oVmzAiqpACOHYXdGLBODQ+a5urOZk="}]},"_npmUser":{"name":"darthcucumber","email":"souvikat001@gmail.com"},"directories":{},"maintainers":[{"name":"darthcucumber","email":"souvikat001@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eyes-on_1.0.1_1608047575031_0.39053332548420294"},"_hasShrinkwrap":false},"1.0.2":{"name":"@darthcucumber/eyes-on","version":"1.0.2","description":"minimal cross-platform file watcher","main":"eyes-on.js","bin":{"eyeson":"eyes-on.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/DarthCucumber/node-eyeson.git"},"keywords":["cli","command line utility","file watcher","command line tool"],"author":{"name":"Souvik Kar Mahapatra","email":"souvikat001@gmail.com","url":"https://github.com/DarthCucumber"},"license":"MIT","bugs":{"url":"https://github.com/DarthCucumber/node-eyeson/issues"},"homepage":"https://github.com/DarthCucumber/node-eyeson#readme","dependencies":{"chalk":"^4.1.0","termparse":"^1.0.0"},"devDependencies":{},"gitHead":"543a0e8f5af17baec606e4f1ca4b78ce9564fa4a","_id":"@darthcucumber/eyes-on@1.0.2","_nodeVersion":"10.19.0","_npmVersion":"6.14.9","dist":{"integrity":"sha512-h6Xff2Q1K6DBRhyzRucju9ZQOCX3j4HySAIvc1R4fZecCI1rEPrfpBEkvo8oiXXkr50dJKQbrU5EHnAi9vws8Q==","shasum":"ef6c38003b3401f33b84fb5e55b496d9c427c095","tarball":"https://registry.npmjs.org/@darthcucumber/eyes-on/-/eyes-on-1.0.2.tgz","fileCount":3,"unpackedSize":10014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2QoXCRA9TVsSAnZWagAAy0oP/3B4hfXuK7OFlN3LQpS7\nZSw/GjbQ6VjGr+mNlN2JiKb/qM+a7RTO3cJi5DEs4eaV1i4v5ebEjCI+aJRn\ndvWRsCYRZH6Kov1j77PjsZufmA+/+qzbb/SQ7suCEec/VUSYP7VKnUBWU3i4\nIwU6A51bItX/rnT5HKLFMzWTjQFZT5Y78QbTXJKrH4Xd8znjfI09HHOZahCl\n5KHM0SgszjOipODa/GMjK+R9NnJ5p604C8+Asno+6CUOeN2QlNBmJKD0GW2U\nOwNR4VXGPADbWeY8JwIyWmuBb07zsPXXlG0kWxdOs3NrljIzZRUYXxlI5BJT\n5VqSWmFCclHp8Yg36HNiVqrszaQCWmg1hS9Gh6dVYRUSKB/0Vcaz4I5vW3Vr\nWQlRSYropMg9scRAGmrZzMk9kbXOFHPj2M3eJ8CjP3ECC8WIXSj6I409IVvg\npb0NVVEDPIFECR4WNoGM0+bWE7cah2T2Z3rMyt3EQCRZRioZA701c0CHm57J\nAmX7fKcEkKBvWFOTorbreESKF6Ks1NU2jqPtPlX3rFfUv6XbZ1Cs1TypqgQT\nDe+lKGkvKN6iPT0h/JcobMMN8Us5ET8TO+yspaGbl2M7qBq3YOKAiTFLnFox\ncpzkQDclSoxQYOlI3DP1FnA/YrzqpCWd6CONUaUhKwoSxf2SM6MmVx6oFQp+\nNeTj\r\n=H2KI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAz2c57wSNx2VcrDymbeajtWU3e+73Z4ChdjA1vmA2nqAiAQ2PgYoZLiH96zQe1wsGXxkGv1UCQDV+2A0TW8gCJQ/w=="}]},"_npmUser":{"name":"darthcucumber","email":"souvikat001@gmail.com"},"directories":{},"maintainers":[{"name":"darthcucumber","email":"souvikat001@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eyes-on_1.0.2_1608059415022_0.7828140715349929"},"_hasShrinkwrap":false},"1.1.0":{"name":"@darthcucumber/eyes-on","version":"1.1.0","description":"minimal cross-platform file watcher","main":"eyes-on.js","bin":{"eyeson":"eyes-on.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/DarthCucumber/node-eyeson.git"},"keywords":["cli","command line utility","file watcher","command line tool"],"author":{"name":"Souvik Kar Mahapatra","email":"souvikat001@gmail.com","url":"https://github.com/DarthCucumber"},"license":"MIT","bugs":{"url":"https://github.com/DarthCucumber/node-eyeson/issues"},"homepage":"https://github.com/DarthCucumber/node-eyeson#readme","dependencies":{"chalk":"^4.1.0","termparse":"^2.0.2"},"gitHead":"543a0e8f5af17baec606e4f1ca4b78ce9564fa4a","_id":"@darthcucumber/eyes-on@1.1.0","_nodeVersion":"10.19.0","_npmVersion":"7.7.4","dist":{"integrity":"sha512-HeYMVZgoHHcRU07k7/S1EtVgtCpuafNiTlt+SALgCk1zlj2xfKdAnMvFnCSIZJxYoMqcWWyQVqjJ7ZuevW2fdg==","shasum":"cfd378791196aa237cd4cc30154f73ce46706de6","tarball":"https://registry.npmjs.org/@darthcucumber/eyes-on/-/eyes-on-1.1.0.tgz","fileCount":4,"unpackedSize":17779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXsq7CRA9TVsSAnZWagAAHaQP/2yQo4BMeewoomwdLZee\nD53BGbEedyh9OpklxDh1jic6DjJiwevkuuRGfOWLhn5tgMsrSlcSDbYE6RYi\nNkEUFSxGwpAhB6QtMa6Ib+UdUcPZ2B1idFcvaKOefgPCS5AAUuoP2GfFqkvl\nwbAiQixD8MbNWLZcUnPFVUavmzaK0AxOTZJvoidyfXc6yVejjuAJmb5KG43h\nexXEdq+yxyDhHmPwyuZlqwD+R/xFBXFtZBZcKNTtWTnbNS5GyePzlZbnacw8\nYdtAZ61/l61m802VYCMkZJ8boKfgSegvSugKovX56z1W3DyVayCa/z6jROWQ\nQTRYhi/GAfoqjbgAWrPQ2JNeIfz7t3G+An1m/tn/nhCkBcndm/T6ftyJHfDQ\nkvukzXNHCDM9H4lCe/UPGoTfX5uGyqLvtH51djI69mDIOmIsGu2xdKqV6ZVF\nPtF6AB6Ruhy89dJ/Ot34f/Ng7E36EJFTU/d9kMojOQgL2EmiUB0kzeLP+I8m\nchcl6mLFrzOZuogROlntY1B2R5pEDK9i8EYfOauuXREatUbQSVTZ3Mvm/3bH\nJcXRpKWMhvunbNDUfBtH2g4JFCVeuwZqz7w08Ad4iLxUsQ2GEqNQUsYyCxdu\nlvGGkEp4J2MPb7E1eMIT1EypAjnMu+uDFnpFTnOWxlcr1hsECuVKu9czh0MQ\nyAbx\r\n=X69W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDW+iUslRsWMnlhyE1O/x7t4XnnZvUbJ+vP5yNd16T20AiEA8ZQsmA8IP+Ixto/Mjpi5DD5ebn2TBBT0RIiwjlYIGxY="}]},"_npmUser":{"name":"darthcucumber","email":"souvikat001@gmail.com"},"directories":{},"maintainers":[{"name":"darthcucumber","email":"souvikat001@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eyes-on_1.1.0_1616825019242_0.9353187454503535"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-15T15:45:50.714Z","1.0.0":"2020-12-15T15:45:51.509Z","modified":"2022-04-05T02:46:08.431Z","1.0.1":"2020-12-15T15:52:55.977Z","1.0.2":"2020-12-15T19:10:15.262Z","1.1.0":"2021-03-27T06:03:39.456Z"},"maintainers":[{"name":"darthcucumber","email":"souvikat001@gmail.com"}],"description":"minimal cross-platform file watcher","homepage":"https://github.com/DarthCucumber/node-eyeson#readme","keywords":["cli","command line utility","file watcher","command line tool"],"repository":{"type":"git","url":"git+https://github.com/DarthCucumber/node-eyeson.git"},"author":{"name":"Souvik Kar Mahapatra","email":"souvikat001@gmail.com","url":"https://github.com/DarthCucumber"},"bugs":{"url":"https://github.com/DarthCucumber/node-eyeson/issues"},"license":"MIT","readme":"<pre>\r\n ▄▄▄▄▄▄▄ ▄▄   ▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄    ▄▄▄▄▄▄▄ ▄▄    ▄ \r\n█       █  █ █  █       █       █  █       █  █  █ █\r\n█    ▄▄▄█  █▄█  █    ▄▄▄█  ▄▄▄▄▄█  █   ▄   █   █▄█ █\r\n█   █▄▄▄█       █   █▄▄▄█ █▄▄▄▄▄   █  █ █  █       █\r\n█    ▄▄▄█▄     ▄█    ▄▄▄█▄▄▄▄▄  █  █  █▄█  █  ▄    █\r\n█   █▄▄▄  █   █ █   █▄▄▄ ▄▄▄▄▄█ █  █       █ █ █   █\r\n█▄▄▄▄▄▄▄█ █▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█  █▄▄▄▄▄▄▄█▄█  █▄▄█\r\n</pre>\r\n\r\n**Eyes-on** is a minimal Cross-platform command line file watcher which lets user watch for modification/deletion over single/multiple files.\r\n\r\n\r\n# 📃Features/Todos\r\n\r\n- [x]  Watches for *modification* and *deletion* in files\r\n- [x]  Users can change the checking interval of `eyeson` based on their needs\r\n- [x]  Users can pass command to execute which triggers when any file in watch list is *modified*.\r\n\r\n# 🔧Installation\r\n\r\nDownload suitable Eyeson execuatble from [here](https://github.com/DarthCucumber/node-eyeson/releases/tag/v1.0.0)\r\n\r\nafter downloading the suitable binary file, set the path variable for the binary like so:\r\n\r\n**For macOs and Linux**\r\n```bash\r\nPATH=\"/path/to the downloaded/binary/file:$PATH\"\r\n```\r\n\r\nor \r\n\r\nif your have node js installed then use:\r\n\r\n```bash\r\nnpm install -g @darthcucumber/eyes-on\r\n```\r\n\r\n# 💻Usage\r\n\r\n### Commands and Flags\r\n\r\n![enter image description here](https://i.ibb.co/7GNy9vq/Screenshot-2020-12-14-021328.jpg)\r\n\r\n### Examples\r\n\r\n- **Watching over single file**\r\n\r\n```bash\r\neyeson watch file1.txt\r\n```\r\nwatches over `file1.txt`\r\n\r\n- **Watching over multiple files**\r\n\r\n```bash\r\neyeson watch file1.txt file2.txt file3.txt\r\n```\r\nwatches over the file name provided as agrs.\r\n**note:** if any of the file provided as agrs does not exists then it stops watching and exits.\r\n\r\n- **Watching over all the files in current directory**\r\n\r\n```bash\r\neyeson watch *\r\n```\r\ngives following result:\r\n![enter image description here](https://i.ibb.co/DfBnJsp/h-Hr-Cx-Vav-Jc.gif)\r\n\r\n- **Watching over specific files in current directory**\r\n\r\n```bash\r\neyeson watch *.js\r\n```\r\nonly  watches  for all `js` files in the directory\r\ngives following result:\r\n![enter image description here](https://i.ibb.co/dmrcCKM/xg-G2qy-Tb-Av.gif)\r\n\r\n- **Changing watch interval time**\r\n\r\n```bash\r\neyeson watch *.js -t=1000\r\n```\r\nthis changes the interval to 1000ms (1s) i.e the interval at which **eyeson** checks for file modification. Takes input in milliseconds. Default is 2s or 2000ms.\r\n\r\n- **Passing single line commands**\r\n\r\n```bash\r\neyeson watch test.py -c=\"python3 test.py\"\r\n```\r\nthis executes `python3 test.py` (runs the python file test.py) command on any modification in the files its watching over.\r\ngives following result:\r\n\r\n![enter image description here](https://i.ibb.co/Qmx4Vnc/y7-Owwy-Jb3m.gif)\r\n\r\n- **Passing multiple line commands**\r\n\r\n```bash\r\neyeson watch test.cpp -c=\"g++ -o test test.cpp\r\n./test\"\r\n```\r\nthis executes `g++ -o test test.cpp` (compiles test.cpp)  first and then executes `./test` (runs the cpp program) on any modification in the files its watching over. This feature comes in very handy.\r\n\r\ngives following result:\r\n\r\n![enter image description here](https://i.ibb.co/3mYtSDQ/Ra160-PGf-Bv.gif)\r\n","readmeFilename":"README.md"}