Miss any of our Open RFC calls?Watch the recordings here! »

directory-size

0.1.1 • Public • Published

Directory Size

Get the number of items inside a directory.

Tested using:

node -v v5.5.0

Usage

npm install --save directory-size

Example

const directorySize = require('directory-size');
directorySize('/tmp').then(function(count) {
    console.log(count);
});

License

MIT

Keywords

Install

npm i directory-size

DownloadsWeekly Downloads

8

Version

0.1.1

License

MIT

Last publish

Collaborators

  • avatar