1.0.0 • Published 9 years ago
is-existing-folder v1.0.0
is-existing-folder
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)
Name | Type | Description |
---|---|---|
filepath | String | File path to check |
cb | Function | Callback function |
License
MIT
1.0.0
9 years ago