is-existing-folder

1.0.0 • Public • Published

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)

Name Type Description
filepath String File path to check
cb Function Callback function

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i is-existing-folder

Weekly Downloads

10

Version

1.0.0

License

MIT

Last publish

Collaborators

  • joakimbeng