0.0.1 • Published 8 years ago
path-empty v0.0.1
path-empty
Check if a path is empty
Install
$ npm install --save path-empty
Usage
const pathEmpty = require('path-empty')
// async mode
pathEmpty('./inori')
.then(empty => {
console.log(empty)
// => false, the path is not empty
})
// sync mode
pathEmpty.sync('./inori')
// => false, the path is not empty
License
MIT © EGOIST
0.0.1
8 years ago