{"name":"filesize","description":"JavaScript library to generate a human readable String describing the file size","version":"11.0.15","homepage":"https://filesizejs.com","author":{"name":"Jason Mulligan","email":"jason.mulligan@avoidwork.com"},"repository":{"type":"git","url":"git://github.com/avoidwork/filesize.js.git"},"bugs":{"url":"https://github.com/avoidwork/filesize.js/issues"},"license":"BSD-3-Clause","source":"src/filesize.js","module":"dist/filesize.js","main":"dist/filesize.cjs","exports":{"types":"./types/filesize.d.ts","import":"./dist/filesize.js","require":"./dist/filesize.cjs"},"type":"module","sourceType":"module","types":"types/filesize.d.ts","engines":{"node":">= 10.8.0"},"scripts":{"build":"npm run rollup","build:watch":"rollup --config --watch","build:analyze":"npm run rollup && npm run analyze:size","analyze:size":"echo 'Bundle size analysis:' && du -h dist/* && echo 'Gzipped sizes:' && gzip -c dist/filesize.min.js | wc -c | awk '{print $1\" bytes (gzipped)\"}' && gzip -c dist/filesize.umd.min.js | wc -c | awk '{print $1\" bytes (umd gzipped)\"}'","changelog":"auto-changelog -p","coverage":"node --test --experimental-test-coverage --test-coverage-exclude=dist/** --test-coverage-exclude=tests/** --test-reporter=spec tests/**/*.test.js 2>&1 | grep -A 1000 \"start of coverage report\" > coverage.txt","lint":"npx oxlint *.js benchmarks src tests && npx oxfmt *.js benchmarks src tests/unit --check","fix":"npx oxlint --fix *.js benchmarks src tests && npx oxfmt *.js benchmarks src tests/unit --write","test":"npm run lint && node --test --experimental-test-coverage tests/**/*.js","test:watch":"node --test --watch tests/**/*.js","rollup":"rollup --config","prepack":"npm run build","prepare":"husky","dev":"npm run build:watch","benchmark":"node benchmarks/index.js","benchmark:basic":"node benchmarks/basic-performance.js","benchmark:options":"node benchmarks/options-benchmark.js","benchmark:stress":"node benchmarks/stress-test.js","benchmark:partial":"node benchmarks/partial-benchmark.js","benchmark:gc":"node --expose-gc benchmarks/index.js"},"devDependencies":{"@rollup/plugin-terser":"^1.0.0","auto-changelog":"^2.5.0","husky":"^9.1.7","oxfmt":"^0.42.0","oxlint":"^1.57.0","rollup":"^4.52.0"},"keywords":["file","filesize","size","readable","file system","bytes","diff"],"gitHead":"be4ffbba914ac99c5e9844fb2eaf3635725e591e","_id":"filesize@11.0.15","_nodeVersion":"25.8.1","_npmVersion":"11.11.0","dist":{"shasum":"f197b75a869444cb0e00af3a4f9c05e9389ed77e","size":9225,"noattachment":false,"key":"/filesize/-/filesize-11.0.15.tgz","tarball":"http://registry.cnpm.dingdandao.com/filesize/download/filesize-11.0.15.tgz"},"_npmUser":{"name":"avoidwork","email":"jason.mulligan@avoidwork.com"},"directories":{},"maintainers":[{"name":"avoidwork","email":"jason.mulligan@avoidwork.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/filesize_11.0.15_1774734176827_0.6628145108602117"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-28T21:42:56.958Z","publish_time":1774734176958,"_source_registry_name":"default","_cnpm_publish_time":1774734176958,"dist-tags":{"latest":"11.0.15"}}