{"bugs":{"url":"https://github.com/bevry/fs-write/issues"},"dist":{"shasum":"e2fab6a6317ea77fd6d44dc65bdde6196b76df3b","tarball":"https://registry.npmjs.org/@bevry/fs-write/-/fs-write-1.0.0.tgz","fileCount":16,"integrity":"sha512-tX92v6YEj4E4H16kG5DYjGFvl8M9yggLyukl24VFB0mrbnawvJ8dlMIvmmj2DyafaoqFzIg8WrCRv4meEquhEA==","signatures":[{"sig":"MEQCIBimUGQfMPQWcpA/XC1iLirGMkxw6qGcoqNvr/Vak6mzAiBBMJ2J6t/93EHqcSkRO1NQcxYi1svpHGyvVV32Bgi9zQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35964},"main":"index.cjs","name":"@bevry/fs-write","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/fs-write","wishlistURL":"https://bevry.me/wishlist","flattrUsername":"balupton","githubUsername":"bevry","githubWorkflow":"bevry","npmPackageName":"@bevry/fs-write","patreonUsername":"bevry","githubRepository":"fs-write","liberapayUsername":"bevry","buymeacoffeeUsername":"balupton","githubSponsorsUsername":"balupton","opencollectiveUsername":"bevry","thanksdevGithubUsername":"balupton"}},"engines":{"node":">=4"},"exports":{"node":{"import":"./edition-es2022-esm/index.js","default":"./index.cjs","require":"./edition-es2022/index.js"}},"funding":"https://bevry.me/fund","gitHead":"17f1d469edc6e9e6cdfec9f4b593ef9da9c7f0b7","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: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: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-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"}],"homepage":"https://github.com/bevry/fs-write","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-write.git","type":"git"},"_npmVersion":"10.1.0","description":"Write contents to 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.2.0","editions":"^6.13.0","@bevry/fs-mkdirp":"^1.0.0","@bevry/fs-accessible":"^2.0.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.1.0","typescript":"5.2.2","@types/node":"^20.9.1","@bevry/fs-read":"^1.0.0","assert-helpers":"^11.4.0","valid-directory":"^4.4.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/fs-write_1.0.0_1700203024484_0.9813842246079494","host":"s3://npm-registry-packages"},"_id":"@bevry/fs-write@1.0.0","version":"1.0.0"}