{"name":"@quansync/fs","version":"0.1.4","author":{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"@quansync/fs@0.1.4","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/quansync-dev/fs#readme","bugs":{"url":"https://github.com/quansync-dev/fs/issues"},"dist":{"shasum":"07acd361fcacc4febe7103866539d44123691666","tarball":"http://registry-npm.ywwl.com/@quansync/fs/download/@quansync/fs-0.1.4.tgz","fileCount":5,"integrity":"sha512-vy/41FCdnIalPTQCb2Wl0ic1caMdzGus4ktDp+gpZesQNydXcx8nhh8qB3qMPbGkictOTaXgXEUUfQEm8DQYoA==","signatures":[{"sig":"MEYCIQDZEmZilElL3xeWAIUw4q3Vv6t2cNiNa+QFD8Fbvpmu+wIhAPsatrAUcfSiI7xmGrPapJJ2GKY4OVW5zVkbSyaPfCx/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12438,"size":3244,"noattachment":false,"key":"/@quansync/fs/-/@quansync/fs-0.1.4.tgz"},"main":"./dist/index.js","type":"module","_from":"file:quansync-fs-0.1.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":"./dist/index.js","./package.json":"./package.json"},"funding":"https://github.com/sponsors/sxzz","scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp && pnpm publish","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"prettier":"@sxzz/prettier-config","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/349a899fc68bee4d47b3b73a5ebede26/quansync-fs-0.1.4.tgz","_integrity":"sha512-vy/41FCdnIalPTQCb2Wl0ic1caMdzGus4ktDp+gpZesQNydXcx8nhh8qB3qMPbGkictOTaXgXEUUfQEm8DQYoA==","repository":{"url":"git+https://github.com/quansync-dev/fs.git","type":"git"},"_npmVersion":"11.5.2","description":"Filesystem utilities for Quansync","directories":{},"_nodeVersion":"22.18.0","dependencies":{"quansync":"^0.2.10"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","bumpp":"^10.2.2","eslint":"^9.32.0","tsdown":"^0.13.3","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.2","@types/node":"^24.2.0","@sxzz/eslint-config":"^7.1.2","@sxzz/prettier-config":"^2.2.3"},"_npmOperationalInternal":{"tmp":"tmp/fs_0.1.4_1754638885582_0.8062974494948696","host":"s3://npm-registry-packages-npm-production"},"readme":"# @quansync/fs\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Unit Test][unit-test-src]][unit-test-href]\n\nFilesystem utilities for [quansync](https://github.com/quansync-dev/quansync).\n\n## Install\n\n```bash\nnpm i @quansync/fs\n```\n\n## Usage\n\n```ts\nimport { readFile } from '@quansync/fs'\nimport { quansync } from 'quansync'\n\nconst resultAsync = await readFile('/path', 'utf8')\nconst resultSync = readFile.sync('/path', 'utf8')\n\nconst readFileTrimmed = quansync(function* (id: string) {\n  const text = yield* readFile(id, 'utf8').trim()\n  return text\n})\nconst readFileTrimmedSync = readFileTrimmed.sync\n```\n\n## Sponsors\n\n<p align=\"center\">\n  <a href=\"https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg\">\n    <img src='https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg'/>\n  </a>\n</p>\n\n## License\n\n[MIT](./LICENSE) License © 2025-PRESENT [Kevin Deng](https://github.com/sxzz)\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/@quansync/fs.svg\n[npm-version-href]: https://npmjs.com/package/@quansync/fs\n[npm-downloads-src]: https://img.shields.io/npm/dm/@quansync/fs\n[npm-downloads-href]: https://www.npmcharts.com/compare/@quansync/fs?interval=30\n[unit-test-src]: https://github.com/quansync-dev/fs/actions/workflows/unit-test.yml/badge.svg\n[unit-test-href]: https://github.com/quansync-dev/fs/actions/workflows/unit-test.yml\n","publish_time":1754638885834,"_cnpm_publish_time":1754638885834,"dist-tags":{"latest":"1.1.0"}}