1.0.0 • Published 9 years ago

is-existing-folder v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

is-existing-folder

NPM version

Check if a certain path exists and is a folder (i.e. not a file)

Installation

Install is-existing-folder using npm:

npm install --save is-existing-folder

Usage

Module usage

var isExistingFolder = require('is-existing-folder');

isExistingFolder('/a/file/path', function (result) {
  // ...
});

API

isExistingFolder(filepath, cb)

NameTypeDescription
filepathStringFile path to check
cbFunctionCallback function

License

MIT