{"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":"9bc1a093fe56d378be97b822eed763606ab4d337","tarball":"https://registry.npmjs.org/is-there/-/is-there-4.4.4.tgz","fileCount":4,"integrity":"sha512-WbEGbR5i/vSLJ/cc72kVCoM0RvKWmtmPpRXriNlhsredolym2aSTHZA02IzvDR5ewmwD0V6e9S3s9aHs6Ygw5A==","signatures":[{"sig":"MEYCIQCqnflc9tSvm60AXIPDAVEiFinKq4NxYARISfqND2grHAIhAOCsSbukYMQHJAbOMT7EIH69fymIYwyVzhfoY1P4WnI/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLltqCRA9TVsSAnZWagAAxMUP/3ttvuKvuAmahu4Sg04R\n5+4J7fm51daoX8VxSLzAS19z3pBZTDnd/8b6h+Udf8DpigDDEOP7DzqNBj4+\nJq8lZUfhmqdxvL5Eighshp6iL74LoyxBcTair6falp1K8bf13jWWfmBHnTZX\n8g8Tfvx2ubVruw15CF7ieOVqE2qEIZ+2lY7IruhXh1hhUiul4R/MhWR4YEuX\n4ctunnA9a8Gllao58cuUfm3h2nTeYrYgDK2Ghpf7ei6a1XY7w9qZyJlmBPvA\nigmILde2nExjP4DlS8mMpOVtbiW72nVU5YAKDjwYi6yLjbmIcSIXh5q2zcWk\nZV9Cktwa/jsjls7KXyFDD6ECjrAPRmZwAfx4DAeGHIPvMXKcuS0qZ73TGA6r\nXoGcBkoOODy/r3BFX88U2Lyq2boH1mvmV8oLKMgC90KMXeGqxPMmnxRGsP9M\nimAUgaMg1e87R98WiZ8IQJIKhhmXzDDUCLTCyJOFbkUsBnSMgoxLACA7hYAJ\n2oM4dpZoL3mYPxcnwUMeD83/VKodFVoJR7ByD28TPKcoVo0FhrKZKQv7nEMx\n1bVZr1AIWuxC6Mwvd0xlLT7qf6ea1p67OTwtq5C6v90hESqIhIUFuC6YrX2J\nUfvINshOFPNQGX9fPOaEkyxuilvwBgi7WiuWUhW5qMpan/sd6NtWFtncSBqF\nzsuU\r\n=Kqry\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"is-there","author":{"url":"https://ionicabizau.net","name":"Ionică Bizău","email":"bizauionica@gmail.com"},"gitHead":"6cbae0b5671efe9ee88a4b600781bc823e11eb6c","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":"6.4.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":"10.15.0","contributors":[{"name":"Kevin Harrison","email":"keharriso@gmail.com"}],"dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^2.2.4"},"_npmOperationalInternal":{"tmp":"tmp/is-there_4.4.4_1546541929833_0.3971060677980549","host":"s3://npm-registry-packages"},"_id":"is-there@4.4.4","version":"4.4.4"}