npm install sizer
npm install sizer --save
`
Usage
`js
var sizer = require('sizer');sizer.bigger(1000, __dirname, function (err, files) {
// files is a list of files bigger than 1000 bytes
});
`Api
$3
*
bytes - size in bytes to compare the files to
* directory - the directory containing the files
* options - this value is optional
* ignore - an array of files to ignore (uses minimatch to compare)
* callback - gets called when call files have been compared$3
*
bytes - size in bytes to compare the files to
* directory - the directory containing the files
* options - this value is optional
* ignore - an array of files to ignore (uses minimatch to compare)
* callback - gets called when call files have been compared
Run Tests
`
npm install
npm test
``