{"_id":"file-exists-promise","_rev":"5-83f04eae59882114470163737ce731ca","name":"file-exists-promise","description":"fs.exists with ES6 Promise that is not deprecated","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"file-exists-promise","version":"1.0.0","description":"fs.exists with ES6 Promise that is not deprecated","main":"index.js","dependencies":{},"devDependencies":{},"scripts":{"test":"jasmine-node spec/"},"repository":{"type":"git","url":"git+https://github.com/tanhauhau/file-exists-promise.git"},"keywords":["fs","file","exists","promise","es6-promise","async"],"author":{"name":"Tan Li Hau","email":"lhtan93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/tanhauhau/file-exists-promise/issues"},"homepage":"https://github.com/tanhauhau/file-exists-promise#readme","gitHead":"0ddcc235f6413105a2a196145badb1cebb467fcd","_id":"file-exists-promise@1.0.0","_shasum":"a55fc64f6e9e729cdda4c94f7f545a5ff81c07bc","_from":".","_npmVersion":"3.7.1","_nodeVersion":"4.2.4","_npmUser":{"name":"tanhauhau","email":"lhtan93@gmail.com"},"dist":{"shasum":"a55fc64f6e9e729cdda4c94f7f545a5ff81c07bc","tarball":"https://registry.npmjs.org/file-exists-promise/-/file-exists-promise-1.0.0.tgz","integrity":"sha512-I5hg59PTe2hkeWp6tEgRz86ElpSXjHVnYj8uE4Bsucq9JUPBcPL79EDho9++FN1zs5wxdDJTm47/lxafVWUVvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoWaH5s+JwR/0mFizN1IFVvA8M0oRgS4I1dtk9uYAIhQIgTD8fh9CJVKAIp4Mnny23mCyk7MyxoxZGlKyDUB5TOQI="}]},"maintainers":[{"name":"tanhauhau","email":"lhtan93@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/file-exists-promise-1.0.0.tgz_1461450286195_0.86767259798944"}},"1.0.1":{"name":"file-exists-promise","version":"1.0.1","description":"fs.exists with ES6 Promise that is not deprecated","main":"index.js","dependencies":{"es6-promise":"^3.1.2"},"devDependencies":{"jasmine-node":"^1.14.5"},"scripts":{"test":"jasmine-node spec/"},"repository":{"type":"git","url":"git+https://github.com/tanhauhau/file-exists-promise.git"},"keywords":["fs","file","exists","promise","es6-promise","async"],"author":{"name":"Tan Li Hau","email":"lhtan93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/tanhauhau/file-exists-promise/issues"},"homepage":"https://github.com/tanhauhau/file-exists-promise#readme","gitHead":"60e1ead9da56e33ab8c8bb95caf4bddb66e9b63e","_id":"file-exists-promise@1.0.1","_shasum":"bae60a266abb4883429567d16c3124195dc57676","_from":".","_npmVersion":"3.7.1","_nodeVersion":"4.2.4","_npmUser":{"name":"tanhauhau","email":"lhtan93@gmail.com"},"dist":{"shasum":"bae60a266abb4883429567d16c3124195dc57676","tarball":"https://registry.npmjs.org/file-exists-promise/-/file-exists-promise-1.0.1.tgz","integrity":"sha512-uQirezm5cV5qZHuix5PVzD41y6uEnw/Ez1j0c0z5hDDw+wBA43nOIjoyKzksLfqgcd1xlaqTcYsYpEAPbtw9mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErZEq3zQ1TJMuuoFLNx6GzrQusEHwHg6NwbJ+JnSknGAiEAl7FrBQ0+O4tjKSmzHd8NdbwPwHl8n0rOgd12BdrdciM="}]},"maintainers":[{"name":"tanhauhau","email":"lhtan93@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/file-exists-promise-1.0.1.tgz_1461450417635_0.26921524573117495"}},"1.0.2":{"name":"file-exists-promise","version":"1.0.2","description":"fs.exists with ES6 Promise that is not deprecated","main":"index.js","dependencies":{"es6-promise":"^3.1.2"},"devDependencies":{"jasmine-node":"^1.14.5"},"scripts":{"test":"jasmine-node spec/"},"repository":{"type":"git","url":"git+https://github.com/tanhauhau/file-exists-promise.git"},"keywords":["fs","file","exists","promise","es6-promise","async"],"author":{"name":"Tan Li Hau","email":"lhtan93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/tanhauhau/file-exists-promise/issues"},"homepage":"https://github.com/tanhauhau/file-exists-promise#readme","gitHead":"a87b9c65544c3531abd74835a70a30474b9814e1","_id":"file-exists-promise@1.0.2","_shasum":"37c10a54948920aa987ba5e0cd2e54ba7e44f2b4","_from":".","_npmVersion":"3.7.1","_nodeVersion":"4.2.4","_npmUser":{"name":"tanhauhau","email":"lhtan93@gmail.com"},"dist":{"shasum":"37c10a54948920aa987ba5e0cd2e54ba7e44f2b4","tarball":"https://registry.npmjs.org/file-exists-promise/-/file-exists-promise-1.0.2.tgz","integrity":"sha512-EaD+36cks4yYgP7KHNQJZGRBQ25RBpgfoobxhHcukFWh1Fg9LpZjSkJGByEl6arVyLb3arFM3USSrEk8kpCKgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzcaczvUeCQh7JlLiqGFPqA4n5EUush+AeHxTbXfeUZwIhAPFfJ+njtPV67+aSnz20Ke9ayfRk65I6jtGoZ8g/YoOl"}]},"maintainers":[{"name":"tanhauhau","email":"lhtan93@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/file-exists-promise-1.0.2.tgz_1461464318217_0.8604143005795777"}}},"readme":"# file-exists-promise\n\n[![Build Status](https://travis-ci.org/tanhauhau/file-exists-promise.svg?branch=master)](https://travis-ci.org/tanhauhau/file-exists-promise)\n[![npm version](https://badge.fury.io/js/file-exists-promise.svg)](https://badge.fury.io/js/file-exists-promise)\n[![Dependency status](https://david-dm.org/tanhauhau/file-exists-promise.svg)](https://david-dm.org)\n[![Downloads](https://img.shields.io/npm/dt/file-exists-promise.svg)](https://www.npmjs.com/package/file-exists-promise)\n[![Donate](https://img.shields.io/gratipay/user/tanhauhau.svg)](https://gratipay.com/~tanhauhau/)\n\n> fs.exists with ES6 Promise that is not deprecated\n>\n> This is the implementation using [fs.statsSync](https://nodejs.org/api/fs.html#fs_fs_statsync_path) to check whether the file exists instead of the deprecated [fs.existsSync](https://nodejs.org/api/fs.html#fs_fs_existssync_path).\n>\n\n\n# Installation\n\n```bash\n$ npm install --save file-exists-promise\n```\n\n## Usage\n\n```javascript\nvar fileExists = require('file-exists-promise'),\n      path = require('path');\n\n      fileExists(path.resolve(__dirname, './file.txt'))\n      .then(function(stat){\n          console.log('yeah it exists!');\n          console.log('and the stat of the file --> ' + stat);\n      })\n      .catch(function(){\n          console.log('oh no... it does not exist');\n      });\n```\n\n# License\nMIT\n","maintainers":[{"name":"tanhauhau","email":"lhtan93@gmail.com"}],"time":{"modified":"2022-06-18T00:35:37.979Z","created":"2016-04-23T22:24:46.702Z","1.0.0":"2016-04-23T22:24:46.702Z","1.0.1":"2016-04-23T22:27:00.954Z","1.0.2":"2016-04-24T02:18:41.486Z"},"homepage":"https://github.com/tanhauhau/file-exists-promise#readme","keywords":["fs","file","exists","promise","es6-promise","async"],"repository":{"type":"git","url":"git+https://github.com/tanhauhau/file-exists-promise.git"},"author":{"name":"Tan Li Hau","email":"lhtan93@gmail.com"},"bugs":{"url":"https://github.com/tanhauhau/file-exists-promise/issues"},"license":"MIT","readmeFilename":"README.md"}