{"versions":{"5.0.1":{"name":"file-exists","version":"5.0.1","description":"Check if filepath exists and is a file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-format-spec"},"repository":{"type":"git","url":"git+ssh://git@github.com/scottcorgan/file-exists.git"},"keywords":["file","exists","fs","isfile","is-file"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/file-exists/issues"},"engines":{"node":">=6.0.0"},"homepage":"https://github.com/scottcorgan/file-exists","devDependencies":{"@tap-format/spec":"^0.2.0","async":"^2.1.4","mkdirp":"0.5.1","rmdir":"1.2.0","tape":"4.6.3"},"gitHead":"bd4b4a32d7a48792bb0fa37d61f10b13dd0cb42e","_id":"file-exists@5.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"anonymous","email":"scottcorgan@gmail.com"},"dist":{"shasum":"1dcd017f787fc7be7a09a6ef3e6a3550cea31198","size":7279,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file-exists/-/file-exists-5.0.1.tgz","integrity":"sha512-TeBMgeKbdSsQtcY2XqKY/yTa4BciMD/Gw8YcND0XMDZt4CDj87l1Wl4x7K0ravZ80tZcyIGMD0hj2VSRPR8M8Q=="},"maintainers":[{"name":"anonymous","email":"scottcorgan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file-exists-5.0.1.tgz_1514929028661_0.2489349499810487"},"publish_time":1514929029514,"_hasShrinkwrap":false,"_cnpm_publish_time":1514929029514,"_cnpmcore_publish_time":"2021-12-16T10:18:05.239Z","contributors":[]},"5.0.0":{"name":"file-exists","version":"5.0.0","description":"Check if filepath exists and is a file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-format-spec"},"repository":{"type":"git","url":"git+ssh://git@github.com/scottcorgan/file-exists.git"},"keywords":["file","exists","fs","isfile","is-file"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/file-exists/issues"},"engines":{"node":">=6.0.0"},"homepage":"https://github.com/scottcorgan/file-exists","devDependencies":{"@tap-format/spec":"^0.2.0","async":"^2.1.4","mkdirp":"0.5.1","rmdir":"1.2.0","tape":"4.6.3"},"gitHead":"bc52f382622f1f2c4c681fe73fd5e3dac0302bea","_id":"file-exists@5.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.3.0","_npmUser":{"name":"anonymous","email":"scottcorgan@gmail.com"},"dist":{"shasum":"d8c21d5101312ac8a5600bd86f5420bf9a25b6ad","size":2023,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file-exists/-/file-exists-5.0.0.tgz","integrity":"sha512-MIMzBjsXrH20bF4TAF24U6MWsqXP4K8Pu/Xj+wX9oh3xKgRfRZ2Z0IPMPMfkVNbO6QeLKmGIyOpW2hVv/AipBA=="},"maintainers":[{"name":"anonymous","email":"scottcorgan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file-exists-5.0.0.tgz_1506513157702_0.7896219654940069"},"publish_time":1506513158662,"_hasShrinkwrap":false,"_cnpm_publish_time":1506513158662,"_cnpmcore_publish_time":"2021-12-16T10:18:05.432Z","contributors":[]},"4.0.0":{"name":"file-exists","version":"4.0.0","description":"Check if filepath exists and is a file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-format-spec"},"repository":{"type":"git","url":"git+ssh://git@github.com/scottcorgan/file-exists.git"},"keywords":["file","exists","fs","isfile","is-file"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/file-exists/issues"},"engines":{"node":">=6.0.0"},"homepage":"https://github.com/scottcorgan/file-exists","devDependencies":{"@tap-format/spec":"^0.2.0","async":"^2.1.4","mkdirp":"0.5.1","rmdir":"1.2.0","tape":"4.6.3"},"gitHead":"4cae403bbc3c532d121afd2bdedf64d711470f25","_id":"file-exists@4.0.0","_shasum":"104eacf25d3fd6b3e462951ae923533195ffb52b","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"anonymous","email":"scottcorgan@gmail.com"},"dist":{"shasum":"104eacf25d3fd6b3e462951ae923533195ffb52b","size":2596,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file-exists/-/file-exists-4.0.0.tgz","integrity":"sha512-RKQjSxvVwo5PGB81O9lR+ThZli+KDt14F4g0pdr3/rqLZH+ljIskfU5WKhKtuBkqExz4xIGl4xKZQ05hUKaSoA=="},"maintainers":[{"name":"anonymous","email":"scottcorgan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file-exists-4.0.0.tgz_1496331493234_0.07535160169936717"},"publish_time":1496331494223,"_hasShrinkwrap":false,"_cnpm_publish_time":1496331494223,"_cnpmcore_publish_time":"2021-12-16T10:18:05.646Z","contributors":[]},"3.0.2":{"name":"file-exists","version":"3.0.2","description":"Check if filepath exists and is a file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-format-spec"},"repository":{"type":"git","url":"git+ssh://git@github.com/scottcorgan/file-exists.git"},"keywords":["file","exists","fs","isfile","is-file"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/file-exists/issues"},"engines":{"node":">=6.0.0"},"homepage":"https://github.com/scottcorgan/file-exists","devDependencies":{"@tap-format/spec":"^0.2.0","async":"^2.1.4","mkdirp":"0.5.1","rmdir":"1.2.0","tape":"4.6.3"},"gitHead":"d6b9b65971a27eacfd5bc93ffa7abcf56919d44a","_id":"file-exists@3.0.2","_shasum":"1d6b3c197810b43f85892e7eed478a637b1ab614","_from":".","_npmVersion":"4.3.0","_nodeVersion":"6.9.3","_npmUser":{"name":"anonymous","email":"scottcorgan@gmail.com"},"dist":{"shasum":"1d6b3c197810b43f85892e7eed478a637b1ab614","size":2537,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file-exists/-/file-exists-3.0.2.tgz","integrity":"sha512-pe5RJcufbPvcfJxNjLhhWcPXSvxTt4NRX+5UDThhcWHkakpdhgo3+PcLqSJZCBrBcsFbxxE1cUth4mSM9jrBzA=="},"maintainers":[{"name":"anonymous","email":"scottcorgan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/file-exists-3.0.2.tgz_1488978070836_0.7234392759855837"},"publish_time":1488978071561,"_hasShrinkwrap":false,"_cnpm_publish_time":1488978071561,"_cnpmcore_publish_time":"2021-12-16T10:18:05.881Z","contributors":[]},"3.0.1":{"name":"file-exists","version":"3.0.1","description":"Check if filepath exists and is a file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-format-spec"},"repository":{"type":"git","url":"git+ssh://git@github.com/scottcorgan/file-exists.git"},"keywords":["file","exists","fs","isfile","is-file"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/file-exists/issues"},"engines":{"node":">=6.0.0"},"homepage":"https://github.com/scottcorgan/file-exists","devDependencies":{"@tap-format/spec":"^0.2.0","async":"^2.1.4","mkdirp":"0.5.1","rmdir":"1.2.0","tape":"4.6.3"},"gitHead":"fa89c120c02e1e667fe447157882dbb423a88b9f","_id":"file-exists@3.0.1","_shasum":"aaf6cd50cd2370233252f4fcb48a1a521965b22e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.3","_npmUser":{"name":"anonymous","email":"scottcorgan@gmail.com"},"dist":{"shasum":"aaf6cd50cd2370233252f4fcb48a1a521965b22e","size":2525,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file-exists/-/file-exists-3.0.1.tgz","integrity":"sha512-+/FJSG6nI0ry6scD2npWRNWH6QtMDF4v3If4ogeTaFXnPI2nUiGej+cnyPvnYQ6SPP2M4QWNWeUxNBIfBQpIew=="},"maintainers":[{"name":"anonymous","email":"scottcorgan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/file-exists-3.0.1.tgz_1486479765799_0.6760011021979153"},"publish_time":1486479767577,"_hasShrinkwrap":false,"_cnpm_publish_time":1486479767577,"_cnpmcore_publish_time":"2021-12-16T10:18:06.126Z","contributors":[]},"3.0.0":{"name":"file-exists","version":"3.0.0","description":"Check if filepath exists and is a file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-format-spec"},"repository":{"type":"git","url":"git+ssh://git@github.com/scottcorgan/file-exists.git"},"keywords":["file","exists","fs","isfile","is-file"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/file-exists/issues"},"engines":{"node":">=6.0.0"},"homepage":"https://github.com/scottcorgan/file-exists","devDependencies":{"@tap-format/spec":"^0.2.0","async":"^2.1.4","mkdirp":"0.5.1","rmdir":"1.2.0","tape":"4.6.3"},"gitHead":"135b04045b1596544e783660d6c855b3b0aed416","_id":"file-exists@3.0.0","_shasum":"db81c59080079adafe120f3669bf04bfd947debc","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.3","_npmUser":{"name":"anonymous","email":"scottcorgan@gmail.com"},"dist":{"shasum":"db81c59080079adafe120f3669bf04bfd947debc","size":2519,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file-exists/-/file-exists-3.0.0.tgz","integrity":"sha512-DH7+z1vFU6ZKCqEtgK4pXwzxmS2nszklJ8i8WGHTPgJzJkBVloY/o6s/EMZ4dDg7KLI2NboHKmogFDbpuBCoqQ=="},"maintainers":[{"name":"anonymous","email":"scottcorgan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/file-exists-3.0.0.tgz_1486479390292_0.42030399153009057"},"publish_time":1486479390957,"_hasShrinkwrap":false,"_cnpm_publish_time":1486479390957,"_cnpmcore_publish_time":"2021-12-16T10:18:06.313Z","contributors":[]},"2.0.0":{"name":"file-exists","version":"2.0.0","description":"Check if filepath exists and is a file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-spec"},"repository":{"type":"git","url":"git+ssh://git@github.com/scottcorgan/file-exists.git"},"keywords":["file","exists","fs","isfile","is-file"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/file-exists/issues"},"homepage":"https://github.com/scottcorgan/file-exists","devDependencies":{"mkdirp":"^0.5.0","rmdir":"^1.0.4","tap-spec":"^4.1.0","tape":"^4.2.2"},"gitHead":"371df5917e6f9d9d23b1f81b4e6552bb5ac3b3d5","_id":"file-exists@2.0.0","_shasum":"a24150665150e62d55bc5449281d88d2b0810dca","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"anonymous","email":"scottcorgan@gmail.com"},"dist":{"shasum":"a24150665150e62d55bc5449281d88d2b0810dca","size":2206,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file-exists/-/file-exists-2.0.0.tgz","integrity":"sha512-xiDzGS+oe7RleGLItoPTKVj3DjKHiVANV6dEyWTt3yB08H/AHuyvjh0aZ8jISQ53yhyTWVLsDzhJ5IbvPciBjg=="},"maintainers":[{"name":"anonymous","email":"scottcorgan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/file-exists-2.0.0.tgz_1470144724458_0.9976339789573103"},"publish_time":1470144727006,"_hasShrinkwrap":false,"_cnpm_publish_time":1470144727006,"_cnpmcore_publish_time":"2021-12-16T10:18:06.498Z","contributors":[]},"1.0.0":{"name":"file-exists","version":"1.0.0","description":"Check if filepath exists and is a file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-spec"},"repository":{"type":"git","url":"git+ssh://git@github.com/scottcorgan/file-exists.git"},"keywords":["file","exists","fs","isfile","is-file"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/file-exists/issues"},"homepage":"https://github.com/scottcorgan/file-exists","devDependencies":{"mkdirp":"^0.5.0","rmdir":"^1.0.4","tap-spec":"^4.1.0","tape":"^4.2.2"},"gitHead":"2915cfcbd7f1ee872557be24a54d3ecc1f5e5d78","_id":"file-exists@1.0.0","_shasum":"e6d269b56567b8922581398e990dd7078f72d616","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"anonymous","email":"scottcorgan@gmail.com"},"dist":{"shasum":"e6d269b56567b8922581398e990dd7078f72d616","size":2087,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file-exists/-/file-exists-1.0.0.tgz","integrity":"sha512-rykgoYUsbdq99frgXsZHxAVTKtL0Pe40K5prNEVVbKoXAawzjh+DnlFCYZVjmobUsUMvQLNXbSDcy0wEAityvQ=="},"maintainers":[{"name":"anonymous","email":"scottcorgan@gmail.com"}],"publish_time":1448044630008,"_hasShrinkwrap":false,"_cnpm_publish_time":1448044630008,"_cnpmcore_publish_time":"2021-12-16T10:18:06.710Z","contributors":[]},"0.1.1":{"name":"file-exists","version":"0.1.1","description":"Check if filepath exists and is a file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-spec"},"repository":{"type":"git","url":"git@github.com:scottcorgan/file-exists.git"},"keywords":["file","exists","fs","isfile","is-file"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/file-exists/issues"},"homepage":"https://github.com/scottcorgan/file-exists","devDependencies":{"mkdirp":"^0.5.0","rmdir":"^1.0.4","tap-spec":"^0.2.0","tape":"^2.13.3"},"gitHead":"82f0a2efbf2e634f0aef105fdd98f804a8cc7439","_id":"file-exists@0.1.1","_shasum":"993d3fffb5b49d11fefcc8f45c2355027440803c","_from":".","_npmVersion":"1.4.20","_npmUser":{"name":"anonymous","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"anonymous","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"993d3fffb5b49d11fefcc8f45c2355027440803c","size":2101,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file-exists/-/file-exists-0.1.1.tgz","integrity":"sha512-hemB19ga8LcrJsXe+75DTpwhjv9/hcI7MjMP8G91o+Z6Y7C3mmokMPbyVr0N+4eq4IClNKLF+7UfRU5AV9chYQ=="},"publish_time":1405722562762,"_hasShrinkwrap":false,"_cnpm_publish_time":1405722562762,"_cnpmcore_publish_time":"2021-12-16T10:18:07.063Z","contributors":[]},"0.1.0":{"name":"file-exists","version":"0.1.0","description":"Check if filepath exists and is a file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-spec"},"repository":{"type":"git","url":"git@github.com:scottcorgan/file-exists.git"},"keywords":["file","exists","fs","isfile","is-file"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/file-exists/issues"},"homepage":"https://github.com/scottcorgan/file-exists","devDependencies":{"mkdirp":"^0.5.0","rmdir":"^1.0.4","tap-spec":"^0.2.0","tape":"^2.13.3"},"gitHead":"803335602e25b077ce0b6dfac4aaae4bee6faee0","_id":"file-exists@0.1.0","_shasum":"658b244ecb73963102922dc01f7f722df0a68042","_from":".","_npmVersion":"1.4.20","_npmUser":{"name":"anonymous","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"anonymous","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"658b244ecb73963102922dc01f7f722df0a68042","size":2096,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file-exists/-/file-exists-0.1.0.tgz","integrity":"sha512-wnzA5t3UcLMt9JnSwzTSQOiYu8wSwitciL2YdNdzjKaykjuTxOGeBK6jGt+1Hu7bXw5xJXTe/AU7dDpgKR0EKg=="},"publish_time":1405639852010,"_hasShrinkwrap":false,"_cnpm_publish_time":1405639852010,"_cnpmcore_publish_time":"2021-12-16T10:18:07.464Z","contributors":[]}},"dist-tags":{"latest":"5.0.1"},"name":"file-exists","time":{"created":"2022-01-26T17:03:27.318Z","modified":"2023-08-05T02:30:17.788Z","5.0.1":"2018-01-02T21:37:09.514Z","5.0.0":"2017-09-27T11:52:38.662Z","4.0.0":"2017-06-01T15:38:14.223Z","3.0.2":"2017-03-08T13:01:11.561Z","3.0.1":"2017-02-07T15:02:47.577Z","3.0.0":"2017-02-07T14:56:30.957Z","2.0.0":"2016-08-02T13:32:07.006Z","1.0.0":"2015-11-20T18:37:10.008Z","0.1.1":"2014-07-18T22:29:22.762Z","0.1.0":"2014-07-17T23:30:52.010Z"},"readme":"# file-exists\n\nCheck if filepath exists and is a file. Returns false for directories.\n\n_(Requires node >=6.0.0)_\n\n## Install\n\n```\nnpm install file-exists --save\n```\n\n## Usage\n\n```js\nconst fileExists = require('file-exists');\n\nfileExists('/index.html', (err, exists) => console.log(exists)) // OUTPUTS: true or false\n\nfileExists('/index.html').then(exists => {\n  console.log(exists) // OUTPUTS: true or false\n})\n\nconsole.log(fileExists.sync('/index.html')) // OUTPUTS: true or false\n```\n\n### Options\n\n#### fileExists(filepath[, options, callback])\n\n* `filepath` - the path to the file to check if it exists\n* `options` - an object of options\n  * `root` - the root directory to look in (or cwd)\n* `callback(err, exists)` - gets called when checking is done\n\n#### fileExists.sync(filepath[, options])\n* `filepath` - the path to the file to check if it exists\n* `options` - an object of options\n  * `root` - the root directory to look in (or cwd)\n\n## Run Tests\n\n```\nnpm install\nnpm test\n```","users":{}}