{"_id":"quansync","_rev":"3825415","name":"quansync","description":"Create sync/async APIs with usable logic","dist-tags":{"latest":"0.2.11"},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"time":{"modified":"2025-08-26T22:17:47.000Z","created":"2025-02-23T05:28:40.566Z","0.2.11":"2025-08-16T06:51:30.145Z","0.2.10":"2025-03-19T10:20:57.128Z","0.2.9":"2025-03-19T10:11:27.686Z","0.2.8":"2025-03-03T08:08:42.208Z","0.2.7":"2025-03-02T13:50:04.322Z","0.2.6":"2025-02-28T09:05:10.834Z","0.2.5":"2025-02-28T08:48:30.646Z","0.2.4":"2025-02-28T03:48:07.386Z","0.2.3":"2025-02-28T03:44:10.819Z","0.2.2":"2025-02-27T13:00:30.114Z","0.2.1":"2025-02-27T09:33:56.552Z","0.2.0":"2025-02-27T09:16:04.687Z","0.1.0":"2025-02-27T08:17:15.784Z","0.0.6":"2025-02-27T07:02:58.195Z","0.0.5":"2025-02-24T10:02:14.532Z","0.0.4":"2025-02-24T09:02:44.717Z","0.0.3":"2025-02-24T08:02:38.392Z","0.0.2":"2025-02-24T07:47:29.266Z","0.0.1":"2025-02-23T05:57:23.533Z","0.0.0":"2025-02-23T05:28:40.566Z"},"users":{},"author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/quansync-dev/quansync.git"},"versions":{"0.2.11":{"name":"quansync","type":"module","version":"0.2.11","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/quansync-dev/quansync#readme","repository":{"type":"git","url":"git+https://github.com/quansync-dev/quansync.git"},"bugs":{"url":"https://github.com/quansync-dev/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"},"./types":{"import":"./dist/types.mjs","require":"./dist/types.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","typesVersions":{"*":{"*":["./dist/*","./*"]}},"devDependencies":{"@antfu/eslint-config":"^5.2.1","@types/node":"^24.3.0","bumpp":"^10.2.3","eslint":"^9.33.0","gensync":"1.0.0-beta.2","lint-staged":"^16.1.5","mitata":"^1.0.34","simple-git-hooks":"^2.13.1","tsx":"^4.20.4","typescript":"^5.9.2","unbuild":"^3.6.1","vite":"^7.1.2","vitest":"^3.2.4"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.11","_integrity":"sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==","_resolved":"/tmp/0bb9dc0c8ade4fb8e5d298fd532cb972/quansync-0.2.11.tgz","_from":"file:quansync-0.2.11.tgz","_nodeVersion":"22.18.0","_npmVersion":"11.5.2","dist":{"shasum":"f9c3adda2e1272e4f8cf3f1457b04cbdb4ee692a","size":5324,"noattachment":false,"key":"/quansync/-/quansync-0.2.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.11.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d56f37aa-b2f2-4531-9ed3-bd7f83bb7fc9"}},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.11_1755327089941_0.7567575563955538"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-16T06:51:30.145Z","publish_time":1755327090145,"_source_registry_name":"default","_cnpm_publish_time":1755327090145},"0.2.10":{"name":"quansync","type":"module","version":"0.2.10","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/quansync-dev/quansync#readme","repository":{"type":"git","url":"git+https://github.com/quansync-dev/quansync.git"},"bugs":{"url":"https://github.com/quansync-dev/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"},"./types":{"import":"./dist/types.mjs","require":"./dist/types.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","typesVersions":{"*":{"*":["./dist/*","./*"]}},"devDependencies":{"@antfu/eslint-config":"^4.10.1","@types/node":"^22.13.10","bumpp":"^10.1.0","eslint":"^9.22.0","gensync":"1.0.0-beta.2","lint-staged":"^15.5.0","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.8.2","unbuild":"^3.5.0","vite":"^6.2.2","vitest":"^3.0.9"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.10","_integrity":"sha512-t41VRkMYbkHyCYmOvx/6URnN80H7k4X0lLdBMGsz+maAwrJQYB1djpV6vHrQIBE0WBSGqhtEHrK9U3DWWH8v7A==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/0b801c770cf407beee6e2a9fb0558eb8/quansync-0.2.10.tgz","_from":"file:quansync-0.2.10.tgz","_nodeVersion":"22.14.0","_npmVersion":"11.2.0","dist":{"shasum":"32053cf166fa36511aae95fc49796116f2dc20e1","size":5208,"noattachment":false,"key":"/quansync/-/quansync-0.2.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.10.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.10_1742379656951_0.9741371084353263"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-19T10:20:57.128Z","publish_time":1742379657128,"_source_registry_name":"default","_cnpm_publish_time":1742379657128},"0.2.9":{"name":"quansync","version":"0.2.9","keywords":["async","sync","generator"],"author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","_id":"quansync@0.2.9","maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/quansync-dev/quansync#readme","bugs":{"url":"https://github.com/quansync-dev/quansync/issues"},"dist":{"shasum":"26b1f94bb526f86eac4f1553c2db74af172a186b","size":5215,"noattachment":false,"key":"/quansync/-/quansync-0.2.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.9.tgz"},"main":"./dist/index.mjs","type":"module","_from":"file:quansync-0.2.9.tgz","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"},"./types":{"import":"./dist/types.mjs","require":"./dist/types.cjs"}},"funding":[{"url":"https://github.com/sponsors/antfu","type":"individual"},{"url":"https://github.com/sponsors/sxzz","type":"individual"}],"scripts":{"dev":"unbuild --stub","lint":"eslint .","test":"vitest","build":"unbuild","start":"tsx src/index.ts","release":"bumpp && pnpm publish","benchmark":"node scripts/benchmark.js","typecheck":"tsc --noEmit"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/587f2a606254ff6bb5c08d16e777ef37/quansync-0.2.9.tgz","_integrity":"sha512-w6CcT51RCKwQ6x+q0lFD0AMFVExJf5DTQkGei0mDALAbBty01a1HGXEfUHforLijiApJ0jgzR4z5KeJ8z/wwpQ==","repository":{"url":"git+https://github.com/quansync-dev/quansync.git","type":"git"},"_npmVersion":"11.2.0","description":"Create sync/async APIs with usable logic","directories":{},"lint-staged":{"*":"eslint --fix"},"sideEffects":false,"_nodeVersion":"22.14.0","typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","vite":"^6.2.2","bumpp":"^10.1.0","eslint":"^9.22.0","mitata":"^1.0.34","vitest":"^3.0.9","gensync":"1.0.0-beta.2","unbuild":"^3.5.0","typescript":"^5.8.2","@types/node":"^22.13.10","lint-staged":"^15.5.0","simple-git-hooks":"^2.11.1","@antfu/eslint-config":"^4.10.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/quansync_0.2.9_1742379087455_0.3300015269837888","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2025-03-19T10:11:27.686Z","publish_time":1742379087686,"_source_registry_name":"default","_cnpm_publish_time":1742379087686},"0.2.8":{"name":"quansync","type":"module","version":"0.2.8","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/quansync-dev/quansync#readme","repository":{"type":"git","url":"git+https://github.com/quansync-dev/quansync.git"},"bugs":{"url":"https://github.com/quansync-dev/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"},"./types":{"import":"./dist/types.mjs","require":"./dist/types.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","typesVersions":{"*":{"*":["./dist/*","./*"]}},"devDependencies":{"@antfu/eslint-config":"^4.4.0","@types/node":"^22.13.8","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.8.2","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.8","_integrity":"sha512-4+saucphJMazjt7iOM27mbFCk+D9dd/zmgMDCzRZ8MEoBfYp7lAvoN38et/phRQF6wOPMy/OROBGgoWeSKyluA==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/a0ce9eec0151857417074e730a9291f8/quansync-0.2.8.tgz","_from":"file:quansync-0.2.8.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"2e893d17bb754ba0988ea399ff0bc5f2a8467793","size":4838,"noattachment":false,"key":"/quansync/-/quansync-0.2.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.8.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.8_1740989322005_0.1794434106901326"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-03T08:08:42.208Z","publish_time":1740989322208,"_source_registry_name":"default","_cnpm_publish_time":1740989322208},"0.2.7":{"name":"quansync","type":"module","version":"0.2.7","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/quansync-dev/quansync#readme","repository":{"type":"git","url":"git+https://github.com/quansync-dev/quansync.git"},"bugs":{"url":"https://github.com/quansync-dev/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"},"./types":{"import":"./dist/types.mjs","require":"./dist/types.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","typesVersions":{"*":{"*":["./dist/*","./*"]}},"devDependencies":{"@antfu/eslint-config":"^4.3.0","@types/node":"^22.13.5","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.7.3","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.7","_integrity":"sha512-KZDFlN9/Si3CgKHZsIfLBsrjWKFjqu9KA0zDGJEQoQzPm5HWNDEFc2mkLeYUBBOwEJtxNBSMaNLE/GlvArIEfQ==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/c101bd6b32413f445132a016729bc080/quansync-0.2.7.tgz","_from":"file:quansync-0.2.7.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"d6f6249ab52e4a61e78ebf0e195e5836aaf9e7dd","size":4804,"noattachment":false,"key":"/quansync/-/quansync-0.2.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.7.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.7_1740923404127_0.12851871678382465"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-02T13:50:04.322Z","publish_time":1740923404322,"_source_registry_name":"default","_cnpm_publish_time":1740923404322},"0.2.6":{"name":"quansync","type":"module","version":"0.2.6","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/quansync-dev/quansync#readme","repository":{"type":"git","url":"git+https://github.com/quansync-dev/quansync.git"},"bugs":{"url":"https://github.com/quansync-dev/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","typesVersions":{"*":{"*":["./dist/*","./*"]}},"devDependencies":{"@antfu/eslint-config":"^4.3.0","@types/node":"^22.13.5","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.7.3","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.6","_integrity":"sha512-u3TuxVTuJtkTxKGk5oZ7K2/o+l0/cC6J8SOyaaSnrnroqvcVy7xBxtvBUyd+Xa8cGoCr87XmQj4NR6W+zbqH8w==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/02ea9e5801398fe9ea59dec8a7b960c9/quansync-0.2.6.tgz","_from":"file:quansync-0.2.6.tgz","_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"shasum":"38dc2b88c0d9761e1ada7b5ab0317355fea5345f","size":4779,"noattachment":false,"key":"/quansync/-/quansync-0.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.6.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.6_1740733510637_0.3547748186179487"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-28T09:05:10.834Z","publish_time":1740733510834,"_source_registry_name":"default","_cnpm_publish_time":1740733510834},"0.2.5":{"name":"quansync","type":"module","version":"0.2.5","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/quansync-dev/quansync#readme","repository":{"type":"git","url":"git+https://github.com/quansync-dev/quansync.git"},"bugs":{"url":"https://github.com/quansync-dev/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","typesVersions":{"*":{"*":["./dist/*","./*"]}},"devDependencies":{"@antfu/eslint-config":"^4.3.0","@types/node":"^22.13.5","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.7.3","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.5","_integrity":"sha512-f9/SIAupv4/jP2+d5H83l6iZ3w45zQ7bPrgJLO1SZSTWOU7K/D1WZvyN+Ybx6tXRxYHOg+e2CmZMkfK3doZzMw==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/e492782a675ae648b4b2a1f1f6b23257/quansync-0.2.5.tgz","_from":"file:quansync-0.2.5.tgz","_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"shasum":"7343f8bf3fb12ba57dce6bd89527d87485cf497e","size":4780,"noattachment":false,"key":"/quansync/-/quansync-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.5.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.5_1740732510405_0.850000075869769"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-28T08:48:30.646Z","publish_time":1740732510646,"_source_registry_name":"default","_cnpm_publish_time":1740732510646},"0.2.4":{"name":"quansync","type":"module","version":"0.2.4","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/antfu-collective/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu-collective/quansync.git"},"bugs":{"url":"https://github.com/antfu-collective/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","typesVersions":{"*":{"*":["./dist/*","./*"]}},"devDependencies":{"@antfu/eslint-config":"^4.3.0","@types/node":"^22.13.5","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.7.3","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.4","_integrity":"sha512-1p13bC37Po/fOAixPZkZOLttIc51bU0oPYPdL7EDLmMxJ1p3lCryAtgMmVxmI3k3g0OZRKN+Cf1etcFLOwD3Vg==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/7f7b6d0e3ebd52735d4f402584b00d7f/quansync-0.2.4.tgz","_from":"file:quansync-0.2.4.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"f5197daa14d3418baafa96b27bb09ea03fc1c8e0","size":4750,"noattachment":false,"key":"/quansync/-/quansync-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.4.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.4_1740714487189_0.6504797183109083"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-28T03:48:07.386Z","publish_time":1740714487386,"_source_registry_name":"default","_cnpm_publish_time":1740714487386},"0.2.3":{"name":"quansync","type":"module","version":"0.2.3","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/antfu-collective/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu-collective/quansync.git"},"bugs":{"url":"https://github.com/antfu-collective/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","typesVersions":{"*":{"*":["./dist/*","./*"]}},"devDependencies":{"@antfu/eslint-config":"^4.3.0","@types/node":"^22.13.5","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.7.3","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.3","_integrity":"sha512-HZgrwjWyctDE4iB56YFsycfcfCw06E9DeWfrM5/33l94gvIsOUUuc/l5ObZ1S+apIiskxzbc922L1vZKOg0uJA==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/f971b36fdfed234a0b88f8d254de37c2/quansync-0.2.3.tgz","_from":"file:quansync-0.2.3.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"bedab3f83b0a2d14a0b2459a17a34dc595e6e9bd","size":4683,"noattachment":false,"key":"/quansync/-/quansync-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.3.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.3_1740714250595_0.32428756346086973"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-28T03:44:10.819Z","publish_time":1740714250819,"_source_registry_name":"default","_cnpm_publish_time":1740714250819},"0.2.2":{"name":"quansync","type":"module","version":"0.2.2","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/antfu-collective/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu-collective/quansync.git"},"bugs":{"url":"https://github.com/antfu-collective/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","typesVersions":{"*":{"*":["./dist/*","./*"]}},"devDependencies":{"@antfu/eslint-config":"^4.3.0","@types/node":"^22.13.5","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.7.3","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.2","_integrity":"sha512-PrJjqc5Sn6Jv3vlIA9LQs0XdyhCTWrFddMgNP8mGyh3OiMh6ofOES4PRIApcfOZ0wLE2jJN+5/2eyOvzTv9tqw==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/d8a668f5095fb98110ca3326c99f1a7e/quansync-0.2.2.tgz","_from":"file:quansync-0.2.2.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"0e526508310cb2f285b7500a0eb0441d7123adfd","size":4512,"noattachment":false,"key":"/quansync/-/quansync-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.2.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.2_1740661229868_0.6724039968443973"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-27T13:00:30.114Z","publish_time":1740661230114,"_source_registry_name":"default","_cnpm_publish_time":1740661230114},"0.2.1":{"name":"quansync","type":"module","version":"0.2.1","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/antfu-collective/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu-collective/quansync.git"},"bugs":{"url":"https://github.com/antfu-collective/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./macro":{"import":"./dist/macro.mjs","require":"./dist/macro.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","typesVersions":{"*":{"*":["./dist/*","./*"]}},"devDependencies":{"@antfu/eslint-config":"^4.3.0","@types/node":"^22.13.5","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.7.3","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.1","_integrity":"sha512-/TVkmtJM+2Uf026dN921iQH229IqJ+4MhcYoGypKQQWGetWiiRjP0PDWKarids4smgSTsNTtCoZswre1sqQn5w==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/f4d76d5104371ec4a2fa149ce3d62b1b/quansync-0.2.1.tgz","_from":"file:quansync-0.2.1.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"7aea1d72ebab1a7782f0211e3e89be987086f338","size":4497,"noattachment":false,"key":"/quansync/-/quansync-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.1.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.1_1740648836372_0.04176600490552196"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-27T09:33:56.552Z","publish_time":1740648836552,"_source_registry_name":"default","_cnpm_publish_time":1740648836552},"0.2.0":{"name":"quansync","type":"module","version":"0.2.0","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/antfu-collective/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu-collective/quansync.git"},"bugs":{"url":"https://github.com/antfu-collective/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":"./dist/index.mjs","./macro":"./dist/macro.mjs"},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^4.3.0","@types/node":"^22.13.5","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.7.3","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.2.0","_integrity":"sha512-kV4zzAQUS55/NJDyQirSiobIliVjvarE2VHSOfpmZ3BP73evwAuXliCrV4jNvpqCijW83gdehaFq4oupGr5rkw==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/ad98d0c2906d45d9df60a07e121312d6/quansync-0.2.0.tgz","_from":"file:quansync-0.2.0.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"d95d1614fb8e0219b5f0422add4f48f47eace1fe","size":4186,"noattachment":false,"key":"/quansync/-/quansync-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.2.0.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.2.0_1740647764518_0.17420237039876052"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-27T09:16:04.687Z","publish_time":1740647764687,"_source_registry_name":"default","_cnpm_publish_time":1740647764687},"0.1.0":{"name":"quansync","type":"module","version":"0.1.0","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/antfu-collective/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu-collective/quansync.git"},"bugs":{"url":"https://github.com/antfu-collective/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":"./dist/index.mjs"},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^4.3.0","@types/node":"^22.13.5","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.7.3","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.1.0","_integrity":"sha512-owZss3L63Zi7W1djlhIfLC36Za3izdi85SU+YKNTWzuRAyWoIL3tSotb/HqhPmZAgYVvp3x6peIapFimKgKaEQ==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/660ce2e3a59078cec80885ea1c0c6132/quansync-0.1.0.tgz","_from":"file:quansync-0.1.0.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"18424da4505ef2eb610b3db4ac97892459c6fffc","size":4066,"noattachment":false,"key":"/quansync/-/quansync-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.1.0.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.1.0_1740644235611_0.44608983452759454"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-27T08:17:15.784Z","publish_time":1740644235784,"_source_registry_name":"default","_cnpm_publish_time":1740644235784},"0.0.6":{"name":"quansync","type":"module","version":"0.0.6","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"contributors":[{"name":"三咲智子 Kevin Deng","email":"sxzz@sxzz.moe"}],"license":"MIT","funding":[{"type":"individual","url":"https://github.com/sponsors/antfu"},{"type":"individual","url":"https://github.com/sponsors/sxzz"}],"homepage":"https://github.com/antfu-collective/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu-collective/quansync.git"},"bugs":{"url":"https://github.com/antfu-collective/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":"./dist/index.mjs"},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^4.3.0","@types/node":"^22.13.5","bumpp":"^10.0.3","eslint":"^9.21.0","gensync":"1.0.0-beta.2","lint-staged":"^15.4.3","mitata":"^1.0.34","simple-git-hooks":"^2.11.1","tsx":"^4.19.3","typescript":"^5.7.3","unbuild":"^3.5.0","vite":"^6.2.0","vitest":"^3.0.7"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","benchmark":"node scripts/benchmark.js","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.0.6","_integrity":"sha512-HcbyhJQDZRIkPTPsiWajuL9i9e8GIZmT5EUZVO7VSn6j/UBrWRJnRb+HR4Mkz9lErwCPDOf7z2UhUuS6tJyZvg==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/448c6626caf52fb64d1ca69350dc5bf4/quansync-0.0.6.tgz","_from":"file:quansync-0.0.6.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"a92074e7adfa2d593277e95dd08fc551bf98f5e6","size":4000,"noattachment":false,"key":"/quansync/-/quansync-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.0.6.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.0.6_1740639778013_0.3141138186476906"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-27T07:02:58.195Z","publish_time":1740639778195,"_source_registry_name":"default","_cnpm_publish_time":1740639778195},"0.0.5":{"name":"quansync","type":"module","version":"0.0.5","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu/quansync.git"},"bugs":{"url":"https://github.com/antfu/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":"./dist/index.mjs"},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^4.1.1","@antfu/ni":"^23.3.1","@antfu/utils":"^8.1.0","@types/node":"^22.13.1","bumpp":"^10.0.2","eslint":"^9.20.0","lint-staged":"^15.4.3","pnpm":"^10.2.1","simple-git-hooks":"^2.11.1","tsx":"^4.19.2","typescript":"^5.7.3","unbuild":"^3.3.1","vite":"^6.1.0","vitest":"^3.0.5"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.0.5","_integrity":"sha512-4WPXIJiQnktcQM8+qzNsEht5gVMpc2ROT+61MOIvNElvo6qTkIb4nvUg8h1QTYBKMBcqw+gHgYzsKfj1z7FMOg==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/bbedeec8a826ae6023b20d547e7fe694/quansync-0.0.5.tgz","_from":"file:quansync-0.0.5.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"a387de6122975eb362fc6d602a6f8498c31b9290","size":3566,"noattachment":false,"key":"/quansync/-/quansync-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.0.5.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.0.5_1740391334344_0.307822472997044"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-24T10:02:14.532Z","publish_time":1740391334532,"_source_registry_name":"default","_cnpm_publish_time":1740391334532},"0.0.4":{"name":"quansync","type":"module","version":"0.0.4","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu/quansync.git"},"bugs":{"url":"https://github.com/antfu/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":"./dist/index.mjs"},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^4.1.1","@antfu/ni":"^23.3.1","@antfu/utils":"^8.1.0","@types/node":"^22.13.1","bumpp":"^10.0.2","eslint":"^9.20.0","lint-staged":"^15.4.3","pnpm":"^10.2.1","simple-git-hooks":"^2.11.1","tsx":"^4.19.2","typescript":"^5.7.3","unbuild":"^3.3.1","vite":"^6.1.0","vitest":"^3.0.5"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.0.4","_integrity":"sha512-hsb0mfuWzXLWNgSXshkE6ugbFWVMSyR12w1S1Ya6eD9F44Sbs0jby6LmL7qCKOk5jgICw5I4JyTvStGVum/sMQ==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/05c8d5336db1e8f8072b1f13c337b6ce/quansync-0.0.4.tgz","_from":"file:quansync-0.0.4.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"c849e64dd90e1cf674108ac18ec392d8d5199996","size":3538,"noattachment":false,"key":"/quansync/-/quansync-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.0.4.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.0.4_1740387764519_0.6946388712439637"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-24T09:02:44.717Z","publish_time":1740387764717,"_source_registry_name":"default","_cnpm_publish_time":1740387764717},"0.0.3":{"name":"quansync","type":"module","version":"0.0.3","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu/quansync.git"},"bugs":{"url":"https://github.com/antfu/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":"./dist/index.mjs"},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^4.1.1","@antfu/ni":"^23.3.1","@antfu/utils":"^8.1.0","@types/node":"^22.13.1","bumpp":"^10.0.2","eslint":"^9.20.0","lint-staged":"^15.4.3","pnpm":"^10.2.1","simple-git-hooks":"^2.11.1","tsx":"^4.19.2","typescript":"^5.7.3","unbuild":"^3.3.1","vite":"^6.1.0","vitest":"^3.0.5"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.0.3","_integrity":"sha512-Hy3dO1q5iSY5cNxbD2ja3g1jEgTEwU6hGVxK7jq9TnYMDRdYKH7UKpFZMAPt5YeV2Eg8w9/vujZK/YvaWgDZGg==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/fce28227d1278807228021dd13cee714/quansync-0.0.3.tgz","_from":"file:quansync-0.0.3.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"fd3b71f628e68716d0bdbccacc38f2ccecb4727a","size":3502,"noattachment":false,"key":"/quansync/-/quansync-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.0.3.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.0.3_1740384158215_0.7996231952641837"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-24T08:02:38.392Z","publish_time":1740384158392,"_source_registry_name":"default","_cnpm_publish_time":1740384158392},"0.0.2":{"name":"quansync","type":"module","version":"0.0.2","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu/quansync.git"},"bugs":{"url":"https://github.com/antfu/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":"./dist/index.mjs"},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^4.1.1","@antfu/ni":"^23.3.1","@antfu/utils":"^8.1.0","@types/node":"^22.13.1","bumpp":"^10.0.2","eslint":"^9.20.0","lint-staged":"^15.4.3","pnpm":"^10.2.1","simple-git-hooks":"^2.11.1","tsx":"^4.19.2","typescript":"^5.7.3","unbuild":"^3.3.1","vite":"^6.1.0","vitest":"^3.0.5"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.0.2","_integrity":"sha512-0QGY4QORubaxTl+FWqXcVWgbgWSLWblRwwP9Wo+OMDG7kEl/p4Gl13wgt8+afIgGKhLVxQ9WyeJjOVmPWHldNg==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/3e97b8b3f1d7a48f2c91e3071835e685/quansync-0.0.2.tgz","_from":"file:quansync-0.0.2.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"5913cf5ca5d7a3726b67618288d1742e4013e6d7","size":3362,"noattachment":false,"key":"/quansync/-/quansync-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.0.2.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.0.2_1740383249071_0.6133141450970285"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-24T07:47:29.266Z","publish_time":1740383249266,"_source_registry_name":"default","_cnpm_publish_time":1740383249266},"0.0.1":{"name":"quansync","type":"module","version":"0.0.1","description":"Create sync/async APIs with usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu/quansync.git"},"bugs":{"url":"https://github.com/antfu/quansync/issues"},"keywords":["async","sync","generator"],"sideEffects":false,"exports":{".":"./dist/index.mjs"},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^4.1.1","@antfu/ni":"^23.3.1","@antfu/utils":"^8.1.0","@types/node":"^22.13.1","bumpp":"^10.0.2","eslint":"^9.20.0","lint-staged":"^15.4.3","pnpm":"^10.2.1","simple-git-hooks":"^2.11.1","tsx":"^4.19.2","typescript":"^5.7.3","unbuild":"^3.3.1","vite":"^6.1.0","vitest":"^3.0.5"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"tsx src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"_id":"quansync@0.0.1","_integrity":"sha512-Uy7fUrJ+wAg6D7cg73FrveyLKiFUdaoMYtVZbJCAmS0O78o6187OciPsECF9Yc0QuZBXw4P7IsS+ekSxSKBIBQ==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/b7a1f23eb6028bb29f393cdeac37f170/quansync-0.0.1.tgz","_from":"file:quansync-0.0.1.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"c2557671c371179b7b005f2781ab222b79ab8180","size":3108,"noattachment":false,"key":"/quansync/-/quansync-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.0.1.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.0.1_1740290243307_0.5303043350634415"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-23T05:57:23.533Z","publish_time":1740290243533,"_source_registry_name":"default","_cnpm_publish_time":1740290243533},"0.0.0":{"name":"quansync","type":"module","version":"0.0.0","packageManager":"pnpm@10.2.1","description":"Create sync/async APIs with same, usable logic","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/quansync#readme","repository":{"type":"git","url":"git+https://github.com/antfu/quansync.git"},"bugs":{"url":"https://github.com/antfu/quansync/issues"},"keywords":[],"sideEffects":false,"exports":{".":"./dist/index.mjs"},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp && pnpm publish","start":"tsx src/index.ts","test":"vitest","typecheck":"tsc --noEmit","prepare":"simple-git-hooks"},"devDependencies":{"@antfu/eslint-config":"^4.1.1","@antfu/ni":"^23.3.1","@antfu/utils":"^8.1.0","@types/node":"^22.13.1","bumpp":"^10.0.2","eslint":"^9.20.0","lint-staged":"^15.4.3","pnpm":"^10.2.1","simple-git-hooks":"^2.11.1","tsx":"^4.19.2","typescript":"^5.7.3","unbuild":"^3.3.1","vite":"^6.1.0","vitest":"^3.0.5"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"_id":"quansync@0.0.0","gitHead":"749a192d665a8e7022f32bf460a8b1fca0cc093c","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"82d7e35cab318857abca7ca71dda6ad6bed4b8de","size":3013,"noattachment":false,"key":"/quansync/-/quansync-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/quansync/download/quansync-0.0.0.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quansync_0.0.0_1740288520392_0.2884460786185796"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-23T05:28:40.566Z","publish_time":1740288520566,"_source_registry_name":"default","_cnpm_publish_time":1740288520566}},"readme":"# quansync\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![JSDocs][jsdocs-src]][jsdocs-href]\n[![License][license-src]][license-href]\n\nCreate sync/async APIs with usable logic.\n\n**Quan**tum + **Sync** - \"_Superposition_\" between `sync` and `async`.\n\n- Typesafe\n- ESM, modern JavaScript\n- Zero dependencies\n\nHeavily inspired by [`genasync`](https://github.com/loganfsmyth/gensync) by [@loganfsmyth](https://github.com/loganfsmyth).\n\n## Why & How\n\nPlease refer to Anthony's blog post: [**Async, Sync, in Between**](https://antfu.me/posts/async-sync-in-between).\n\n## Usage\n\n```bash\npnpm i quansync\n```\n\n```ts\nimport fs from 'node:fs'\nimport { quansync } from 'quansync'\n\n// Create a quansync function by providing `sync` and `async` implementations\nconst readFile = quansync({\n  sync: (path: string) => fs.readFileSync(path),\n  async: (path: string) => fs.promises.readFile(path),\n})\n\n// Create a quansync function by providing a generator function\nconst myFunction = quansync(function* (filename) {\n  // Use `yield*` to call another quansync function\n  const code = yield* readFile(filename, 'utf8')\n\n  return `// some custom prefix\\n${code}`\n})\n\n// Use it as a sync function\nconst result = myFunction.sync('./some-file.js')\n\n// Use it as an async function\nconst asyncResult = await myFunction.async('./some-file.js')\n```\n\n### `getIsAsync`\n\nReturns a boolean indicating whether the current execution is in async mode.\n\n```ts\nimport { getIsAsync, quansync } from 'quansync'\n\nconst fn = quansync(function* () {\n  const isAsync: boolean = yield* getIsAsync()\n  console.log(isAsync)\n})\n\nfn.sync() // false\nawait fn() // true\nawait fn.async() // true\n```\n\n## Build-time Macro\n\nIf you don't like the `function*` and `yield*` syntax, we also provide a build-time macro via [unplugin-quansync](https://github.com/unplugin/unplugin-quansync#usage) allowing you use quansync with async/await syntax, while still able to get the sync version out of that.\n\nHere is an example:\n\n```ts\nimport fs from 'node:fs'\nimport { quansync } from 'quansync/macro'\n\n// Create a quansync function by providing `sync` and `async` implementations\nconst readFile = quansync({\n  sync: (path: string) => fs.readFileSync(path),\n  async: (path: string) => fs.promises.readFile(path),\n})\n\n// Create a quansync function by providing an **async** function\nconst myFunction = quansync(async (filename) => {\n  // Use `await` to call another quansync function\n  const code = await readFile(filename, 'utf8')\n\n  return `// some custom prefix\\n${code}`\n})\n\n// Use it as a sync function\nconst result = myFunction.sync('./some-file.js')\n\n// Use it as an async function\nconst asyncResult = await myFunction.async('./some-file.js')\n```\n\nFor more details on usage, refer to [unplugin-quansync's docs](https://github.com/unplugin/unplugin-quansync#usage).\n\n## Benchmark\n\nRun the following command to benchmark the performance of `quansync`:\n\n```bash\npnpm run build && pnpm run benchmark\n```\n\nBenchmark results indicate that each `yield` incurs an overhead of\napproximately 150 ns, comparable to that of `await sync()`. (On Apple M1 Max)\n\n## Sponsors\n\n<p align=\"center\">\n  <a href=\"https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg\">\n    <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/>\n  </a>\n</p>\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 © [Anthony Fu](https://github.com/antfu) and [Kevin Deng](https://github.com/sxzz)\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/quansync?style=flat&colorA=080f12&colorB=1fa669\n[npm-version-href]: https://npmjs.com/package/quansync\n[npm-downloads-src]: https://img.shields.io/npm/dm/quansync?style=flat&colorA=080f12&colorB=1fa669\n[npm-downloads-href]: https://npmjs.com/package/quansync\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/quansync?style=flat&colorA=080f12&colorB=1fa669&label=minzip\n[bundle-href]: https://bundlephobia.com/result?p=quansync\n[license-src]: https://img.shields.io/github/license/antfu/quansync.svg?style=flat&colorA=080f12&colorB=1fa669\n[license-href]: https://github.com/antfu/quansync/blob/main/LICENSE\n[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669\n[jsdocs-href]: https://www.jsdocs.io/package/quansync\n","_attachments":{},"homepage":"https://github.com/quansync-dev/quansync#readme","bugs":{"url":"https://github.com/quansync-dev/quansync/issues"},"license":"MIT"}