package
Filter files by size recursively
npm install sizerGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Filter files by size recursively
npm install sizer --savevar sizer = require('sizer');
sizer.bigger(1000, __dirname, function (err, files) {
// files is a list of files bigger than 1000 bytes
});bytes - size in bytes to compare the files todirectory - the directory containing the filesoptions - this value is optional
ignore - an array of files to ignore (uses minimatch to compare)callback - gets called when call files have been comparedbytes - size in bytes to compare the files todirectory - the directory containing the filesoptions - this value is optional
ignore - an array of files to ignore (uses minimatch to compare)callback - gets called when call files have been comparednpm install
npm test