dir-check

1.0.0 • Public • Published

Dir check

Check if a path is a directory

Installation

npm install --save dir-check

Usage

const check = require('dir-check');
 
if (check('my-dir')) {
  console.log('is a dir');
}

Working example in test.js

License

MIT

Package Sidebar

Install

npm i dir-check

Weekly Downloads

30

Version

1.0.0

License

MIT

Last publish

Collaborators

  • tobihrbr
  • tobi~