path-empty
Check if a path is empty
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install path-empty 
SYNC missed versions from official npm registry.

path-empty Build Status

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

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

1 Versions

  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |