{"bugs":{"url":"https://github.com/bevry/file/issues"},"dist":{"shasum":"b2e34c9dd9231be4a144f9cb79a57498b4690520","tarball":"https://registry.npmjs.org/@bevry/file/-/file-2.2.0.tgz","fileCount":21,"integrity":"sha512-rImSWFJL0Gv5iM04AU9oHSx7HX1vlwGbk3jUXd2lBRNTeaFXgCs8jkCtJ+4kv7eIZNPEUSenEOtHlOFoAaK9QQ==","signatures":[{"sig":"MEYCIQCWuagN5SDdW11seRY9Zo/7DCwQTFvZfTssX4leY3ZtfAIhALo63LdRRqGawn8C6QCZ9MrXZ1jn3TYm+oJGl/LZ9QNS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138264},"main":"index.cjs","name":"@bevry/file","type":"module","types":"./compiled-types/","author":{"url":"https://balupton.com","name":"2020+ Benjamin Lupton","email":"b@lupton.cc"},"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"cryptoURL":"https://bevry.me/crypto","paypalURL":"https://bevry.me/paypal","githubSlug":"bevry/file","wishlistURL":"https://bevry.me/wishlist","flattrUsername":"balupton","githubUsername":"bevry","githubWorkflow":"bevry","npmPackageName":"@bevry/file","patreonUsername":"bevry","githubRepository":"file","liberapayUsername":"bevry","buymeacoffeeUsername":"balupton","githubSponsorsUsername":"balupton","opencollectiveUsername":"bevry","thanksdevGithubUsername":"balupton"}},"module":"edition-browsers/index.js","browser":"edition-browsers/index.js","engines":{"node":">=4"},"exports":{"node":{"import":"./edition-es2019-esm/index.js","default":"./index.cjs","require":"./edition-es2022/index.js"},"browser":{"import":"./edition-browsers/index.js"}},"funding":"https://bevry.me/fund","gitHead":"6d475a39b6722923dab140ebc59b0d650b690112","license":"Artistic-2.0","scripts":{"test":"node ./test.cjs","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:test":"npm run our:verify && npm test","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:setup":"npm run our:setup:install","our:deploy":"printf '%s\n' 'no need for this project'","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-es2016 && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:edition-es2022 && npm run our:compile:edition-es5 && npm run our:compile:types","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:meta:docs":"npm run our:meta:docs:typedoc","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:release:push":"git push origin && git push origin --tags","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -rf compiled-types && mv edition-temp compiled-types ) )","our:meta:projectz":"projectz compile","our:setup:install":"npm install","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:verify:prettier":"prettier --write .","our:verify:directory":"valid-directory","our:meta:contributors":"update-contributors","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:compile:edition-es5":"tsc --module commonjs --target ES5 --outDir ./edition-es5 --project tsconfig.json && ( test ! -d edition-es5/source || ( mv edition-es5/source edition-temp && rm -rf edition-es5 && mv edition-temp edition-es5 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es5/package.json","our:release:check-dirty":"git diff --exit-code","our:compile:edition-es2016":"tsc --module commonjs --target ES2016 --outDir ./edition-es2016 --project tsconfig.json && ( test ! -d edition-es2016/source || ( mv edition-es2016/source edition-temp && rm -rf edition-es2016 && mv edition-temp edition-es2016 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2016/package.json","our:compile:edition-es2019":"tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -rf edition-es2019 && mv edition-temp edition-es2019 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2019/package.json","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:compile:edition-browsers":"tsc --module ESNext --target ES2022 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -rf edition-browsers && mv edition-temp edition-browsers ) )","our:compile:edition-es2019-esm":"tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2019-esm/package.json"},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"editions":[{"tags":["source","typescript","import"],"entry":"index.ts","engines":false,"directory":"source","description":"TypeScript source code with Import for modules"},{"tags":["compiled","javascript","import"],"entry":"index.js","engines":{"node":false,"browsers":"defaults"},"directory":"edition-browsers","description":"TypeScript compiled against ES2022 for web browsers with Import for modules"},{"tags":["compiled","javascript","es2022","require"],"entry":"index.js","engines":{"node":"14 || 16 || 18 || 20 || 21","browsers":false},"directory":"edition-es2022","description":"TypeScript compiled against ES2022 for Node.js 14 || 16 || 18 || 20 || 21 with Require for modules"},{"tags":["compiled","javascript","es2019","require"],"entry":"index.js","engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false},"directory":"edition-es2019","description":"TypeScript compiled against ES2019 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules"},{"tags":["compiled","javascript","es2016","require"],"entry":"index.js","engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false},"directory":"edition-es2016","description":"TypeScript compiled against ES2016 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules"},{"tags":["compiled","javascript","es5","require"],"entry":"index.js","engines":{"node":"4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false},"directory":"edition-es5","description":"TypeScript compiled against ES5 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules"},{"tags":["compiled","javascript","es2019","import"],"entry":"index.js","engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false},"directory":"edition-es2019-esm","description":"TypeScript compiled against ES2019 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules"}],"homepage":"https://github.com/bevry/file","keywords":["access","accessible","browser","ecmascript","es2016","es2019","es2022","es5","file","from","module","node","read","readable","to","typed","types","typescript","writable","write"],"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/bevry/file.git","type":"git"},"_npmVersion":"10.1.0","description":"Helpers for reading, writing, deleting, and accessing a file.","directories":{},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"_nodeVersion":"20.9.0","contributors":[{"url":"https://github.com/balupton","name":"Benjamin Lupton","email":"b@lupton.cc"}],"dependencies":{"editions":"^6.13.0","version-compare":"^3.2.0"},"eslintConfig":{"extends":["bevry"]},"_hasShrinkwrap":false,"devDependencies":{"kava":"^7.2.0","surge":"^0.23.1","eslint":"^8.53.0","typedoc":"^0.25.3","prettier":"^3.1.0","projectz":"^3.0.0","typescript":"5.2.2","@types/node":"^20.9.0","valid-module":"^2.2.0","assert-helpers":"^11.4.0","valid-directory":"^4.2.0","eslint-config-bevry":"^4.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@bevry/update-contributors":"^1.23.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/file_2.2.0_1700024290486_0.989262534046893","host":"s3://npm-registry-packages"},"_id":"@bevry/file@2.2.0","version":"2.2.0"}