{"bugs":{"url":"https://github.com/bevry/fs-read/issues"},"dist":{"shasum":"e668226fe30fafd8ff2f8fe4ab280b7a066fcc17","tarball":"https://registry.npmjs.org/@bevry/fs-read/-/fs-read-1.1.0.tgz","fileCount":16,"integrity":"sha512-r84hG1xmTeLYi3foBjtSFOibOYd4QMD0FSkWWTjsK3AFPY3kaAVDeaUuaNKG5A43sTlCpA1zpMudWBml9RFL2Q==","signatures":[{"sig":"MEUCIEvR1tsBI2x3vBo0Z7mj1wz+6fE72d9cxyMbpSSMLjn4AiEAgLZCMl/5uj5S2Fh3ajWkCx6fge9A/uF3bLDlsD9Gjpk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38273},"main":"index.cjs","name":"@bevry/fs-read","type":"module","types":"edition-types/index.d.ts","author":{"url":"https://balupton.com","name":"2020+ Benjamin Lupton","email":"b@lupton.cc"},"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"cryptoURL":"https://bevry.me/crypto","paypalURL":"https://bevry.me/paypal","githubSlug":"bevry/fs-read","wishlistURL":"https://bevry.me/wishlist","flattrUsername":"balupton","githubUsername":"bevry","githubWorkflow":"bevry","npmPackageName":"@bevry/fs-read","twitchUsername":"balupton","discordServerID":"1147436445783560193","patreonUsername":"bevry","githubRepository":"fs-read","liberapayUsername":"bevry","discordServerInvite":"nQuXddV7VP","buymeacoffeeUsername":"balupton","githubSponsorsUsername":"balupton","opencollectiveUsername":"bevry","thanksdevGithubUsername":"bevry"}},"engines":{"node":">=4"},"exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","default":"./index.cjs","require":"./edition-es2022/index.js"}},"funding":"https://bevry.me/fund","gitHead":"40d7b2b2fd7a789194180033353deadfc3c8ca2f","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:prettier","our:compile":"npm run our:compile:edition-es2016 && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-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: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: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:release:check-dirty":"git diff --exit-code","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","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-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-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-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","es2022","require"],"entry":"index.js","engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false},"directory":"edition-es2022","description":"TypeScript compiled against ES2022 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":"4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false},"directory":"edition-es2016","description":"TypeScript compiled against ES2016 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules"},{"tags":["compiled","javascript","es2022","import"],"entry":"index.js","engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false},"directory":"edition-es2022-esm","description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules"},{"tags":["compiled","types","import"],"entry":"index.d.ts","engines":false,"directory":"edition-types","description":"TypeScript compiled Types with Import for modules"}],"homepage":"https://github.com/bevry/fs-read","keywords":["access","accessible","ecmascript","es2016","es2022","export-default","file","from","node","read","readable","to","typed","types","typescript","writable","write"],"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"boundation":{"browser":false},"repository":{"url":"git+https://github.com/bevry/fs-read.git","type":"git"},"_npmVersion":"10.1.0","description":"Read the contents of 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":{"errlop":"^7.3.0","editions":"^6.13.0","@bevry/fs-accessible":"^2.1.0"},"eslintConfig":{"extends":["bevry"]},"_hasShrinkwrap":false,"devDependencies":{"kava":"^7.3.0","surge":"^0.23.1","eslint":"^8.54.0","typedoc":"^0.25.3","prettier":"^3.1.0","projectz":"^3.2.0","typescript":"5.2.2","@types/node":"^20.9.3","assert-helpers":"^11.5.0","valid-directory":"^4.4.0","eslint-config-bevry":"^5.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.12.0","@bevry/update-contributors":"^1.23.0","@typescript-eslint/eslint-plugin":"^6.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fs-read_1.1.0_1700549862326_0.9263865542913245","host":"s3://npm-registry-packages"},"_id":"@bevry/fs-read@1.1.0","version":"1.1.0"}