Wraps fs.exists so callback is called with (err, result).
Wraps Node.js' native
fs.exists so callback is called with
(err, result) instead of just
Since it's just wrapping
err argument will always be
I developed the module to have a function that can be easily adapted to return a promise (for example with
faithful.adapt from my Faithful project), but you may find other uses for it.
fs-exists is released under the MIT License.
Copyright (c) 2013 Meryn Stol