Get the size of a folder by recursively iterating through all its sub(files && folders).
Fixes a bug where files with certain ino IDs could collide and be treated as a single file even though there were more than one (#21). If you use a custom fs
module that doesn't support BigInts, this will break your setup.
Adds support for returning the folder size as a BigInt.
Minor improvements to code quality and tooling.
The package now follows best practices for its exports. This should not have any effect on already working installs, but it should mean better compatibility with a variety of new use-cases.
Completely redesigns the API to use ES6 promises and bumps minimum node support to version 14.
Adds documentation on how to import this package from a CommonJS module.