{"name":"filesize","description":"JavaScript library to generate a human readable String describing the file size","version":"10.1.5","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","main":"dist/filesize.cjs","module":"dist/filesize.esm.js","types":"types/filesize.d.ts","type":"module","sourceType":"module","engines":{"node":">= 10.4.0"},"scripts":{"build":"npm run rollup","changelog":"auto-changelog -p","coverage":"nyc npm run test","lint":"eslint *.js src/*.js test/*.js","fix":"eslint --fix *.js src/*.js test/*.js","mocha":"nyc mocha test/*.js","rollup":"rollup --config","test":"npm run lint && npm run mocha","test-webpack":"mkdir -p test/webpack && rm -rf test/webpack/* && git clone git@github.com:rabelais88/typescript-webpack.git test/webpack && echo \"import { filesize } from 'filesize';console.log(filesize(1234));\" >> test/webpack/src/index.ts && cd test/webpack && npm install && mkdir -p node_modules/filesize/dist && cp ../../package.json node_modules/filesize/ && cp ../../dist/* node_modules/filesize/dist/ && npm run build","types":"npx -p typescript tsc src/*.js --declaration --allowJs --emitDeclarationOnly --outDir types","prepare":"husky"},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","auto-changelog":"^2.4.0","eslint":"^9.6.0","husky":"^9.0.11","mocha":"^10.6.0","nyc":"^17.0.0","rollup":"^4.18.1","typescript":"^5.5.3"},"keywords":["file","filesize","size","readable","file system","bytes","diff"],"_id":"filesize@10.1.5","gitHead":"0248be0a29033bb391f59899920b8e5cc5a53b2a","_nodeVersion":"22.6.0","_npmVersion":"10.8.2","dist":{"shasum":"30b55a41331ddc81817dfcc7e7c64bccfa59083e","size":5783,"noattachment":false,"key":"/filesize/-/filesize-10.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/filesize/download/filesize-10.1.5.tgz"},"_npmUser":{"name":"avoidwork","email":"jason.mulligan@avoidwork.com"},"directories":{},"maintainers":[{"name":"avoidwork","email":"jason.mulligan@avoidwork.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filesize_10.1.5_1725401571253_0.7270371246802625"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-03T22:12:51.413Z","publish_time":1725401571413,"_source_registry_name":"default","_cnpm_publish_time":1725401571413,"dist-tags":{"latest":"11.0.15"}}