{"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":"348d70ffb6746e4b72cff661b01a210410c7a190","tarball":"https://registry.npmjs.org/is-there/-/is-there-4.4.0.tgz","integrity":"sha512-d0fi4vaffAknojsBH56h9sGevVntv/UMIUzDmmD4/OpBK7rdBznd2Lc86a3HfyqiYVHpl3GFxfKnShOXKEA5gg==","signatures":[{"sig":"MEYCIQDfalR0ykVMRuwOo+q2nC5Gc0LlD2DAcbvhjo0iUHxAVAIhAK5poWqGAa3av+6b0/IPUWIL0FZqm95nRFKHd0en2BqN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","name":"is-there","_from":".","files":["bin/","app/","lib/","build/","dist/","src/","resources/","menu/","scripts/","cli.js","index.js"],"author":{"url":"http://ionicabizau.net","name":"Ionică Bizău","email":"bizauionica@gmail.com"},"_shasum":"348d70ffb6746e4b72cff661b01a210410c7a190","gitHead":"bf44d227e21a8fb0961bd92134de7bf36ebb66ac","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":"4.1.1","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.0.tgz_1486631706291_0.9670024202205241","host":"packages-12-west.internal.npmjs.com"},"_id":"is-there@4.4.0","version":"4.4.0"}