{"_id":"exists-file","_rev":"15-8c1f5059827ef5994ca2666b8ae4d4a3","name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","dist-tags":{"latest":"3.0.2"},"versions":{"1.0.0":{"name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","homepage":"https://github.com/Kikobeats/exists-file","version":"1.0.0","main":"./index.js","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"repository":{"type":"git","url":"https://github.com/Kikobeats/exists-file"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"keywords":["fs","exist","exists","check","file"],"engines":{"node":">= 0.10.0","npm":">= 1.4.0"},"scripts":{"test":"sh test/test.sh"},"license":"MIT","gitHead":"35048098945dfd9e0ee6462bf58d2c2aaaf44c03","_id":"exists-file@1.0.0","_shasum":"67c22f93b1a46cd03c26bb99321a5da3ca56f949","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"dist":{"shasum":"67c22f93b1a46cd03c26bb99321a5da3ca56f949","tarball":"https://registry.npmjs.org/exists-file/-/exists-file-1.0.0.tgz","integrity":"sha512-dLj7/nquJcxsaESsZLx8sgLgb9Eefq7OAa24qqpy+JFvmMntWiTrxICnSyGnHw29ev6JI8oyyZo7bha4hoC+Bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGg1j0/gQIUSGmuP5JOrguoi3r1oh2awW4FUphEJin4AiBs4Hb/H8yUTDybsP66AkEbLjX328br6SuhEGLbBtPuKA=="}]},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"directories":{},"deprecated":"This package is a perf sacrilege. Use `fs.existsSync()` instead"},"1.0.1":{"name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","homepage":"https://github.com/Kikobeats/exists-file","version":"1.0.1","main":"./index.js","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"repository":{"type":"git","url":"git+https://github.com/kikobeats/exists-file.git"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"keywords":["check","exist","exists","file","fs"],"dependencies":{"standard":"~6.0.8"},"devDependencies":{"coffee-script":"*","mocha":"*","should":"*"},"engines":{"node":">= 0.10"},"scripts":{"pretest":"standard","test":"mocha"},"license":"MIT","gitHead":"3d4c633b5c7f5f83679fcf595789055202ef0d35","_id":"exists-file@1.0.1","_shasum":"8b6270c71f7f3ce5429393da69ad083a11692e0b","_from":".","_npmVersion":"3.8.7","_nodeVersion":"5.9.0","_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"dist":{"shasum":"8b6270c71f7f3ce5429393da69ad083a11692e0b","tarball":"https://registry.npmjs.org/exists-file/-/exists-file-1.0.1.tgz","integrity":"sha512-KJPurQkOdubuj4QMNjF+ZU4yyCC63taSAOEAVUFNwEvhOY37PwPEm36tbYpdTJmycKlLTFxXVTPGJCfTl7bftw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0HTGo0DFm8GD+3anDMX0J2CWnD8lqCm0ehUTKXKZgzgIhANNe3+wsRuGaAe1rcT8MqFJieX3mVzkZ0Rv0zBN5AOjv"}]},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/exists-file-1.0.1.tgz_1460928628953_0.7866249638609588"},"directories":{},"deprecated":"This package is a perf sacrilege. Use `fs.existsSync()` instead"},"1.0.2":{"name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","homepage":"https://github.com/Kikobeats/exists-file","version":"1.0.2","main":"./index.js","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"repository":{"type":"git","url":"git+https://github.com/kikobeats/exists-file.git"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"keywords":["check","exist","exists","file","fs"],"devDependencies":{"coffee-script":"latest","mocha":"latest","should":"latest","standard":"latest"},"engines":{"node":">= 0.10"},"scripts":{"pretest":"standard","test":"mocha"},"license":"MIT","gitHead":"f73d5a1889e3989d6878798a4b4bcfc92a27df42","_id":"exists-file@1.0.2","_shasum":"fd52b1306918bd6cdb01aead0e7db746f71d39b0","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"dist":{"shasum":"fd52b1306918bd6cdb01aead0e7db746f71d39b0","tarball":"https://registry.npmjs.org/exists-file/-/exists-file-1.0.2.tgz","integrity":"sha512-XGMX3xPfcE+PqhmdRZ9l2ntVerIyLGw62p3D1z0QsiittwI6HfB5EsTopRhoar9x+wSMEOK9dXWnYlLBrH/uzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAaHBKGBi6j5pIDlSR7PLbe6EZvhxp2csRxu2YEtC+S1AiEAueD8FZebUMtXFK4pY22VZ0eqAmb2w6fxXjzJOmFvB1M="}]},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/exists-file-1.0.2.tgz_1462293329217_0.9450151307974011"},"directories":{},"deprecated":"This package is a perf sacrilege. Use `fs.existsSync()` instead"},"2.0.0":{"name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","homepage":"https://github.com/Kikobeats/exists-file","version":"2.0.0","main":"./index.js","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"repository":{"type":"git","url":"git+https://github.com/kikobeats/exists-file.git"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"keywords":["check","exist","exists","file","fs"],"devDependencies":{"coffee-script":"latest","mocha":"latest","should":"latest","standard":"latest"},"engines":{"node":">= 0.10"},"scripts":{"pretest":"standard","test":"mocha"},"license":"MIT","gitHead":"a8db2d39404496e5c8a46a44a991ce8547f0b80f","_id":"exists-file@2.0.0","_shasum":"9348829c0a85bd7ab21e3aa8fad0c306853a73f5","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"dist":{"shasum":"9348829c0a85bd7ab21e3aa8fad0c306853a73f5","tarball":"https://registry.npmjs.org/exists-file/-/exists-file-2.0.0.tgz","integrity":"sha512-4AdyZN9moCoflxpZgp/3ifYjdb2QVH/7X0m3AifdbZQvAn0clpvTlNqrfvNCa3FkhkjbzACcbv4ufvOS0TrG/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICLOWPT60IfHHJJ53Gsg+1SbDOS44e+HbzRrWVEWW8hMAiAxSkvejjY4vxlqVQQJccwRwhRczGmjiU1AwS9apZSGCg=="}]},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/exists-file-2.0.0.tgz_1462308218436_0.913343382999301"},"directories":{},"deprecated":"This package is a perf sacrilege. Use `fs.existsSync()` instead"},"2.0.1":{"name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","homepage":"https://github.com/Kikobeats/exists-file","version":"2.0.1","main":"./index.js","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"repository":{"type":"git","url":"git+https://github.com/kikobeats/exists-file.git"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"keywords":["directory","exists","file","file system","fs","recursive"],"dependencies":{"graceful-fs":"~4.1.4"},"devDependencies":{"coveralls":"latest","mocha":"latest","nyc":"latest","should":"latest","standard":"latest"},"engines":{"node":">= 0.10"},"files":["index.js"],"scripts":{"clean":"rm -rf node_modules","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"standard lib index.js","pretest":"npm run lint","test":"nyc mocha"},"license":"MIT","gitHead":"ab8fc5f0c5317ec30868e0d9f3d196470439bb3d","_id":"exists-file@2.0.1","_shasum":"0eca9c7ea52fb9662a27597163147cc2b8df3e2e","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"dist":{"shasum":"0eca9c7ea52fb9662a27597163147cc2b8df3e2e","tarball":"https://registry.npmjs.org/exists-file/-/exists-file-2.0.1.tgz","integrity":"sha512-z/y2EM2yIBvAU7mfz3a3kFps/mkx2O6Hxx0iRXiNLYHAt6QKFC8yS/KsW+WhUXqMxMkQfpv+e/G9VT9neXaB9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe9g0allIATxKxYooy5utHeV2EAvv8H5Q+D89JLaC2agIgdk85qlns6mL6ZcmZVvbr50iYgRIOKcW1M4bBiX33VsE="}]},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/exists-file-2.0.1.tgz_1465987006059_0.2670305543579161"},"directories":{},"deprecated":"This package is a perf sacrilege. Use `fs.existsSync()` instead"},"2.0.2":{"name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","homepage":"https://github.com/Kikobeats/exists-file","version":"2.0.2","main":"./index.js","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"repository":{"type":"git","url":"git+https://github.com/kikobeats/exists-file.git"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"keywords":["directory","exists","file","file system","fs","recursive"],"dependencies":{"graceful-fs":"~4.1.4"},"devDependencies":{"coveralls":"latest","mocha":"latest","nyc":"latest","should":"latest","standard":"latest"},"engines":{"node":">= 0.10"},"files":["index.js"],"scripts":{"clean":"rm -rf node_modules","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"standard lib index.js","pretest":"npm run lint","test":"nyc mocha"},"license":"MIT","gitHead":"0ccec1bd8c22e5b5800cb7a8c4d9aac40b1ed18a","_id":"exists-file@2.0.2","_shasum":"56fbd6954b26729bb18950b6627f6233dd4d5c71","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"dist":{"shasum":"56fbd6954b26729bb18950b6627f6233dd4d5c71","tarball":"https://registry.npmjs.org/exists-file/-/exists-file-2.0.2.tgz","integrity":"sha512-hB30BHPlLS+INCbKREI8GeRI/729bPIGacT2nuMuaGwNut1mwYxlzQdhT71myFfbwdHWNXlOcqw58aYO4bOtlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwE1o0m/H8IWiX5oEZs8mvq2ehx19FNyYiBmaXfDUNIQIhAMkqDuyIrAuRt9Xa1KS+h1w/gSr8cw0r3M8CBXsT0p6s"}]},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/exists-file-2.0.2.tgz_1465990700014_0.6339484320487827"},"directories":{},"deprecated":"This package is a perf sacrilege. Use `fs.existsSync()` instead"},"2.1.0":{"name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","homepage":"https://github.com/Kikobeats/exists-file","version":"2.1.0","main":"./index.js","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"repository":{"type":"git","url":"git+https://github.com/kikobeats/exists-file.git"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"keywords":["directory","exists","file","file system","filesystem","fs","recursive"],"devDependencies":{"coveralls":"latest","mocha":"latest","nyc":"latest","should":"latest","standard":"latest"},"engines":{"node":">= 0.10"},"files":["index.js"],"scripts":{"clean":"rm -rf node_modules","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"standard lib index.js","pretest":"npm run lint","test":"nyc mocha"},"license":"MIT","gitHead":"b256496bce7df9169bae8f33c0525db7e258dee7","_id":"exists-file@2.1.0","_shasum":"66ea39b7855a9d8ad2ff485d974f04a93bb888f8","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"dist":{"shasum":"66ea39b7855a9d8ad2ff485d974f04a93bb888f8","tarball":"https://registry.npmjs.org/exists-file/-/exists-file-2.1.0.tgz","integrity":"sha512-O2XWxtESX3z6bfzwwBLrePFjVaxbfPVXT27hGDfQyVIuLuVX6exPvSmds17HFQsyftrs86xEqAhL4PxH9xfIVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiPFpS9x6aKnrTtprbAtIsnoa/KNrQ214O6Jq72s2u2AIhAOKwTatN3IeNClL2vBBG1mhvqJWDM9AEq1ITZmJg1aWK"}]},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/exists-file-2.1.0.tgz_1467150020393_0.2215424533933401"},"directories":{},"deprecated":"This package is a perf sacrilege. Use `fs.existsSync()` instead"},"3.0.0":{"name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","homepage":"https://github.com/Kikobeats/exists-file","version":"3.0.0","main":"./index.js","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"repository":{"type":"git","url":"git+https://github.com/kikobeats/exists-file.git"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"keywords":["directory","exists","file","file system","filesystem","fs","recursive"],"dependencies":{"cb2promise":"^1.0.2"},"devDependencies":{"coveralls":"latest","mocha":"latest","nyc":"latest","should":"latest","standard":"latest"},"engines":{"node":">= 0.10"},"files":["index.js"],"scripts":{"clean":"rm -rf node_modules","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"standard lib index.js","pretest":"npm run lint","test":"nyc mocha"},"license":"MIT","gitHead":"49898e57c4f8c700d46e421da4fd0828cd9b7ac8","_id":"exists-file@3.0.0","_shasum":"2e886bf9c6b696a8425cff217a897060e22e7465","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"dist":{"shasum":"2e886bf9c6b696a8425cff217a897060e22e7465","tarball":"https://registry.npmjs.org/exists-file/-/exists-file-3.0.0.tgz","integrity":"sha512-1Raztzm5AiZmA1m4qBMzDLNgHK6gK3AuhlGYlzFgMOWKpbbyAzSFczJEBjvWoAQxsDPj+0HWNblmFkIpOVpBhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5ziuMuLFYlnYXFSsy4M5Ge56CHrmy/ci4rAGNGMGF3AiEAu4YYb0rHgzde3GogxWiwHJecHaWVQ7buCIWyNcomfJc="}]},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/exists-file-3.0.0.tgz_1476012583879_0.5543908630497754"},"directories":{},"deprecated":"This package is a perf sacrilege. Use `fs.existsSync()` instead"},"3.0.1":{"name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","homepage":"https://github.com/Kikobeats/exists-file","version":"3.0.1","main":"./index.js","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"repository":{"type":"git","url":"git+https://github.com/kikobeats/exists-file.git"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"keywords":["directory","exists","file","file system","filesystem","fs","recursive"],"dependencies":{"cb2promise":"~1.0.5"},"devDependencies":{"coveralls":"latest","mocha":"latest","nyc":"latest","should":"latest","standard":"latest"},"engines":{"node":">= 4"},"files":["index.js"],"scripts":{"clean":"rm -rf node_modules","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"standard lib index.js","pretest":"npm run lint","test":"nyc mocha"},"license":"MIT","standard":{"globals":["describe","it"]},"gitHead":"8122a56210b3807da393247caafdfb8f63ebe223","_id":"exists-file@3.0.1","_shasum":"ff58a82839eb55110e50253e21b5adad61861e2c","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"dist":{"shasum":"ff58a82839eb55110e50253e21b5adad61861e2c","tarball":"https://registry.npmjs.org/exists-file/-/exists-file-3.0.1.tgz","integrity":"sha512-MadVJr5Qvb/dHC5e9x/WzInjRWjPdDt5aontyBARd73QF1DLPHf1b5LjM8Vn4CqKMCOvdlWRDnhPbefiFI4gjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJu6p76d30sY5uZazVbGOXUlpx9+hpNFaH67p4N7Z0GAiA7ZIWr7vq435zhibkZ5ji32jeS4cMBtQe7SIjC1/sDiw=="}]},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/exists-file-3.0.1.tgz_1493329946016_0.3206942370161414"},"directories":{},"deprecated":"This package is a perf sacrilege. Use `fs.existsSync()` instead"},"3.0.2":{"name":"exists-file","description":"Check if a file exists. A fs.exists implementation that is not deprecated.","homepage":"https://github.com/Kikobeats/exists-file","version":"3.0.2","main":"./index.js","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"repository":{"type":"git","url":"git+https://github.com/kikobeats/exists-file.git"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"keywords":["directory","exists","file","file system","filesystem","fs","recursive"],"dependencies":{"cb2promise":"~1.1.0"},"devDependencies":{"coveralls":"latest","mocha":"latest","nyc":"latest","should":"latest","standard":"latest"},"engines":{"node":">= 4"},"files":["index.js"],"scripts":{"clean":"rm -rf node_modules","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"standard lib index.js","pretest":"npm run lint","test":"nyc mocha"},"license":"MIT","standard":{"globals":["describe","it"]},"gitHead":"24c11175985dd6df8f02a2898074cf1094b070af","_id":"exists-file@3.0.2","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"dist":{"integrity":"sha512-0mO5ZIWiJl35mTCkyyh/cU1ucn+17fOn7/P+QzNCby+/OLKOKKH9fR5kh+riKlNutxYTbZG+OHyYqFfQfpweGw==","shasum":"8adfd3b32529302f2e61690b296789f8abd90edf","tarball":"https://registry.npmjs.org/exists-file/-/exists-file-3.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDKwbRjAjKBS+Ta8BX5y6ZVguweoe/BrHWeeVviHT9TDAiEAlpQ3iJ4YOfi9uUJryYClUnyDH6s2VI3sDHHXwrJIsxo="}]},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exists-file-3.0.2.tgz_1500400370273_0.2604520861059427"},"directories":{},"deprecated":"This package is a perf sacrilege. Use `fs.existsSync()` instead"}},"readme":"# exists-file\n\n![Last version](https://img.shields.io/github/tag/Kikobeats/exists-file.svg?style=flat-square)\n[![Build Status](http://img.shields.io/travis/Kikobeats/exists-file/master.svg?style=flat-square)](https://travis-ci.org/Kikobeats/exists-file)\n[![Coverage Status](https://img.shields.io/coveralls/Kikobeats/exists-file.svg?style=flat-square)](https://coveralls.io/github/Kikobeats/exists-file)\n[![Dependency status](http://img.shields.io/david/Kikobeats/exists-file.svg?style=flat-square)](https://david-dm.org/Kikobeats/exists-file)\n[![Dev Dependencies Status](http://img.shields.io/david/dev/Kikobeats/exists-file.svg?style=flat-square)](https://david-dm.org/Kikobeats/exists-file#info=devDependencies)\n[![NPM Status](http://img.shields.io/npm/dm/exists-file.svg?style=flat-square)](https://www.npmjs.org/package/exists-file)\n[![Donate](https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square)](https://paypal.me/kikobeats)\n\n> Check if a file exists. A fs.exists implementation that is not deprecated.\n\nBecause [fs.exist](https://nodejs.org/api/fs.html#fs_fs_exists_path_callback) and [fs.existsSync](https://nodejs.org/api/fs.html#fs_fs_existssync_path) are deprecated this an implementation using [fs.stats](https://nodejs.org/api/fs.html#fs_fs_stat_path_callback) and [fs.statsSync](https://nodejs.org/api/fs.html#fs_fs_statsync_path) for get the same result.\n\nAlso **always** keep in mind:\n\n> fs.exists() should not be used to check if a file exists before calling fs.open(). Doing so introduces a race condition since other processes may change the file's state between the two calls. Instead, user code should call fs.open() directly and handle the error raised if the file is non-existent.\n\n## Install\n\n```bash\nnpm install exists-file --save\n```\n\n## Usage\n\n```js\nvar existsFile = require('exists-file')\n\n// async with a callback\nexistsFile('./README.md', console.log) // => null, true\n\n// async with a promise\nexistsFile('./README.md').then(console.log).catch(console.error) // => true\n\n// sync\nvar exists = existsFile.sync('./README.md')\nconsole.log(exists) // => true\n```\n\n## API\n\n### existsFile(filepath, [cb])\n\n#### filepath\n\n*Required* <br>\nType: `string`\n\nThe relative or absolute file path.\n\n#### cb\n\nType: `function`\n\nIf `cb` is not provided then it returns a `promise`.\n\n### existsFile.sync(filepath)\n\n#### filepath\n\n*Required* <br>\nType: `string`\n\nThe relative or absolute file path.\n\n## License\n\nMIT © [Kiko Beats](https://www.kikobeats.com)\n","maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"time":{"modified":"2023-10-04T10:45:18.644Z","created":"2015-06-16T09:07:14.006Z","1.0.0":"2015-06-16T09:07:14.006Z","1.0.1":"2016-04-17T21:30:30.268Z","1.0.2":"2016-05-03T16:35:30.381Z","2.0.0":"2016-05-03T20:43:40.692Z","2.0.1":"2016-06-15T10:36:48.688Z","2.0.2":"2016-06-15T11:38:22.427Z","2.1.0":"2016-06-28T21:40:22.929Z","3.0.0":"2016-10-09T11:29:44.531Z","3.0.1":"2017-04-27T21:52:26.781Z","3.0.2":"2017-07-18T17:52:51.221Z"},"homepage":"https://github.com/Kikobeats/exists-file","keywords":["directory","exists","file","file system","filesystem","fs","recursive"],"repository":{"type":"git","url":"git+https://github.com/kikobeats/exists-file.git"},"author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"bugs":{"url":"https://github.com/Kikobeats/exists-file/issues"},"license":"MIT","readmeFilename":"README.md","users":{"rocket0191":true}}