{"blah":{"h_img":"http://i.imgur.com/ZHzpvvE.png","description":[{"h2":"Why? `fs.exists` already does the job!"},{"p":"Because `fs.exists` and `fs.existsSync` ~~will be~~ are deprecated and in some cases we still need them!"},{"blockquote":["`fs.exists()` is an anachronism and exists only for historical reasons. There should almost never be a reason to use it in your own code.","In particular, checking if a file exists before opening it is an anti-pattern that leaves you vulnerable to race conditions: another process may remove the file between the calls to `fs.exists()` and `fs.open()`. Just open the file and handle the error when it's not there.","**`fs.exists()` will be deprecated.**","<sup>([Source](http://nodejs.org/api/fs.html#fs_fs_exists_path_callback), emphasis added)</sup>"]}]},"bugs":{"url":"https://github.com/IonicaBizau/node-is-there/issues"},"dist":{"shasum":"44e3e03381f90613796b1edc3d41e59d555a6fe5","tarball":"https://registry.npmjs.org/is-there/-/is-there-4.4.2.tgz","integrity":"sha512-YvXKxN73YdUCdkHevxcOO4FnkIwsPZpIjyGU+pn0wLp6HOSQcnZrrSpdqUJ+YCPi8X5fmYK2af/hlnOrKbmDAw==","signatures":[{"sig":"MEUCIQCBw1liaM5dr+1uYaUaRAqZaJ2lQDU8Q3thD3HknkEMygIgS42908kPqlv9sjCabz55Fa0FLriM9FN9f/Kflz5aXQs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","name":"is-there","_from":".","files":["bin/","app/","lib/","dist/","src/","scripts/","resources/","menu/","cli.js","index.js"],"author":{"url":"https://ionicabizau.net","name":"Ionică Bizău","email":"bizauionica@gmail.com"},"_shasum":"44e3e03381f90613796b1edc3d41e59d555a6fe5","gitHead":"89b6120d3da925d4088b9cfe9465dbb71446ad58","license":"MIT","scripts":{"test":"mocha test"},"_npmUser":{"name":"ionicabizau","email":"bizauionica@gmail.com"},"homepage":"https://github.com/IonicaBizau/node-is-there","keywords":["fs","exists","file","directory"],"repository":{"url":"git+ssh://git@github.com/IonicaBizau/node-is-there.git","type":"git"},"_npmVersion":"3.10.8","description":"Check if a file or directory exists in a given path.","directories":{"test":"test","example":"example"},"maintainers":[{"name":"ionicabizau","email":"bizauionica@yahoo.com"}],"_nodeVersion":"7.0.0","contributors":[{"name":"Kevin Harrison","email":"keharriso@gmail.com"}],"dependencies":{},"devDependencies":{"mocha":"^2.2.4"},"_npmOperationalInternal":{"tmp":"tmp/is-there-4.4.2.tgz_1490288241982_0.7323778711725026","host":"packages-18-east.internal.npmjs.com"},"_id":"is-there@4.4.2","version":"4.4.2"}