{"_id":"@azerum/ts-csp","_rev":"14-802fea77f43ca818b1498b6f1489f03c","name":"@azerum/ts-csp","dist-tags":{"latest":"0.0.14"},"versions":{"0.0.1":{"name":"@azerum/ts-csp","version":"0.0.1","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.1","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"75942679af2d97f530cbe55a874c84a2eba536da","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.1.tgz","fileCount":63,"integrity":"sha512-UJVUD/b7nypIxHc0serOlYnQ6wIFQiEmtlgoXLudqevDZWlN5C4+1OnaPpLPoOVHICnI6OmH5CT9ARYyb/BV/g==","signatures":[{"sig":"MEQCIAEWSy935c8L95spBJ5Glh9LuNMsIHYxI+YXANlz46k/AiAHj/QsYw7E5feSz+3Qlvh51edLBFbWoY3mbmYfMAmBdw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57131},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.1.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"tsc --noEmit && tsc -p ./tsconfig.build.json","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/813edd19f0fdee45781624311d89431f/azerum-ts-csp-0.0.1.tgz","_integrity":"sha512-UJVUD/b7nypIxHc0serOlYnQ6wIFQiEmtlgoXLudqevDZWlN5C4+1OnaPpLPoOVHICnI6OmH5CT9ARYyb/BV/g==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.8.1","description":"CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.1_1758939061537_0.26296985926890915","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@azerum/ts-csp","version":"0.0.2","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.2","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"44751cd01dbb0acd96e2092e8e02147621237da1","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.2.tgz","fileCount":67,"integrity":"sha512-i/mbpVrY355Bo6EBNhM0s7UHzJI6iQUjybW5RNJDSwO6oVNDcIMukvP5Fk8cervXgw8i6VIOGMgfnhoywrz6+w==","signatures":[{"sig":"MEYCIQCD/xJea8l0n5KL60fZV2sU2DFNO54Pimzq8jxtX7FZHAIhAPkdFwIv8nV7sA/0l618/+J7Gg9iym5OLG/+GNK0cpdx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62476},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.2.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"tsc --noEmit && tsc -p ./tsconfig.build.json","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/78436ec7511fb713df48658b379522b4/azerum-ts-csp-0.0.2.tgz","_integrity":"sha512-i/mbpVrY355Bo6EBNhM0s7UHzJI6iQUjybW5RNJDSwO6oVNDcIMukvP5Fk8cervXgw8i6VIOGMgfnhoywrz6+w==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.2_1758988082319_0.21518764142851698","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@azerum/ts-csp","version":"0.0.3","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.3","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"8793805581b26b097fd3d548bf62d0b70e27eb13","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.3.tgz","fileCount":75,"integrity":"sha512-g0e86SvFp5wxFNNUZyIlg10B/dM1VqBjSw/084toTnVLZXQhAGzjI5SM6ldxnilziPlYHzpIluKyXvHXDk3U7Q==","signatures":[{"sig":"MEUCIQDA0VuUn6DaxF9gWc89EgaKCWl02rXAoYWhDvpnJXawigIgbXHh/z+/OqCSbi2Ma8wUKDRw7V97ECIrzf+H4c8ClS8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66916},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.3.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"tsc --noEmit && tsc -p ./tsconfig.build.json","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/06ce2423cb724ca32adf0c4021adf74f/azerum-ts-csp-0.0.3.tgz","_integrity":"sha512-g0e86SvFp5wxFNNUZyIlg10B/dM1VqBjSw/084toTnVLZXQhAGzjI5SM6ldxnilziPlYHzpIluKyXvHXDk3U7Q==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.3_1758994232147_0.42041812005509693","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@azerum/ts-csp","version":"0.0.4","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.4","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"51ac6240f7f5ed48bdedeefbb8e47ff1f9036773","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.4.tgz","fileCount":37,"integrity":"sha512-lrHAYGNadr6LO5e/FbPF1WXzpjFAWy7z+EptotUW2mhwxz7vtea3QAuUVOkmu+7DUq6r8Jqy8xlQpeRkomg6CA==","signatures":[{"sig":"MEQCIBr7sB3quCaq2oTuzAyeMEJFzP9a3gMhTOyK0DSF6yx2AiA3SqvQ6IjAWS5+AqEDxAz/uQ76ZObDyJX4AlLYZ0P3EA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37431},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.4.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"tsc --noEmit && tsc -p ./tsconfig.build.json","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/c567744055c8b266bf62f04c3ab49f63/azerum-ts-csp-0.0.4.tgz","_integrity":"sha512-lrHAYGNadr6LO5e/FbPF1WXzpjFAWy7z+EptotUW2mhwxz7vtea3QAuUVOkmu+7DUq6r8Jqy8xlQpeRkomg6CA==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.4_1759341532904_0.08225587982338456","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@azerum/ts-csp","version":"0.0.5","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.5","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"ef2772c63f98fdc09ab877a5699bb88c76d96076","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.5.tgz","fileCount":27,"integrity":"sha512-u4FOvyw9NKmn7p+zqDm5scgJceYt3le7DnhA3KWIX9JI5l0sQhGX8RqaMvNgSRS8cjez9sT6nLS9x/n+TAaLQg==","signatures":[{"sig":"MEUCIG4XjE4Zb8LPMRd0r9VRxO53oZK3Ss/2xmxQ+sodVCPzAiEAg9NJSU3Xn/cDrxvmBjQoV0IJMF+UaRYeqqugjXCacNI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25796},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.5.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"tsc --noEmit && tsc -p ./tsconfig.build.json","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/b0a663119735c71698e7e65004693cf0/azerum-ts-csp-0.0.5.tgz","_integrity":"sha512-u4FOvyw9NKmn7p+zqDm5scgJceYt3le7DnhA3KWIX9JI5l0sQhGX8RqaMvNgSRS8cjez9sT6nLS9x/n+TAaLQg==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.5_1759757263023_0.6582539581107096","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@azerum/ts-csp","version":"0.0.6","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.6","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"fadbd145eb2935aa18c1a1de2929c3bbe5bb6255","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.6.tgz","fileCount":3,"integrity":"sha512-h2HMGfi0vVrvUqolWmcLYhOg11hNDfPhCDTPuQbY36N0oH7YWbwoRJPdQQcO6Kh3NRzP8+mj21ZILNfwbfDGMg==","signatures":[{"sig":"MEQCIEwkdqSzT0YJSTlnwuoxyiF9evwmTKrSng1max1jKGOTAiAcC5Oxg/Zbay68EN3DDryP6T1CXbnpEtbzpbQGDWbEdQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3634},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.6.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"tsc -p ./tsconfig.build.json","types":"tsc --noEmit","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/d5c271f13bf0addf4018c95f02202b5d/azerum-ts-csp-0.0.6.tgz","_integrity":"sha512-h2HMGfi0vVrvUqolWmcLYhOg11hNDfPhCDTPuQbY36N0oH7YWbwoRJPdQQcO6Kh3NRzP8+mj21ZILNfwbfDGMg==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.6_1759849213917_0.3394893875670739","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@azerum/ts-csp","version":"0.0.7","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.7","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"9c7b8fca987322c00702b75589d5fb562bbd449b","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.7.tgz","fileCount":63,"integrity":"sha512-Ea9cn9G7Xd9Wa+65JWyVz4+rxJ7VekIiVpE9CesUIUYjTZBnWzDpI9DW9AZ5v7pDj0kO1gRxg/Poeg3t7y6VSA==","signatures":[{"sig":"MEUCIDykW/H6G+e41JLINpEM4jmunKJyCF6DgJpgQsVfk9fuAiEAsE3sQvzgUojSIhq1++Ph7IvJrXGAkREZaQjvfo8rvHo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82009},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.7.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"tsc -p ./tsconfig.build.json","types":"tsc --noEmit","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/9c041b6afbbed14bb4f1b10f2fe6e584/azerum-ts-csp-0.0.7.tgz","_integrity":"sha512-Ea9cn9G7Xd9Wa+65JWyVz4+rxJ7VekIiVpE9CesUIUYjTZBnWzDpI9DW9AZ5v7pDj0kO1gRxg/Poeg3t7y6VSA==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.7_1759857567178_0.036728591129887356","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@azerum/ts-csp","version":"0.0.8","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.8","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"0f0399b10ecc099fa1f8a6955f52b9118e3ab700","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.8.tgz","fileCount":11,"integrity":"sha512-GrDyNFlEEziUWOhMYcUi0NbOpwx3pUK8ddfdgSsgM804rHiRmh6aGnEcOblqf7H4lf34VqbZm++8wjJ8n9eP6g==","signatures":[{"sig":"MEUCIQDstuXtzID0vxUv0knCufH9vQiaPSoRD+kN1hdgNIhCMAIgMGruzD/JC5YHc1eKW41UC+Vlh8Rj6wuL7KGLTfFLg2g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22924},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.8.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"tsc -p ./tsconfig.build.json","types":"tsc --noEmit","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/757a19015761e7673f21caa2c6a9561b/azerum-ts-csp-0.0.8.tgz","_integrity":"sha512-GrDyNFlEEziUWOhMYcUi0NbOpwx3pUK8ddfdgSsgM804rHiRmh6aGnEcOblqf7H4lf34VqbZm++8wjJ8n9eP6g==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.8_1759860979401_0.021106437617229856","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@azerum/ts-csp","version":"0.0.9","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.9","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"f99eb2fc8d2b17f75465d74664a763b3703abfc9","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.9.tgz","fileCount":63,"integrity":"sha512-fpOLWpjTKOEY/1JEPBACXxRXIkISRBX8pQImtuDG5gtt9UMb3HI0dAsNJhtcA8WEtQfncHXBlrqny5nCKMCGTw==","signatures":[{"sig":"MEUCIAcVa/xgRJVU3nDbjmtgrqVLFqXOs/b/kYvkx94qCaVRAiEAwd8JTB1tk0oL5fSpbWKEVrafnAt0L1Dnbz0xN8djzYU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83548},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.9.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"rm -rf ./out && tsc -p ./tsconfig.build.json","types":"tsc --noEmit","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/aa14a4de65f66b4c858ea6b337bc1e64/azerum-ts-csp-0.0.9.tgz","_integrity":"sha512-fpOLWpjTKOEY/1JEPBACXxRXIkISRBX8pQImtuDG5gtt9UMb3HI0dAsNJhtcA8WEtQfncHXBlrqny5nCKMCGTw==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.9_1759932490725_0.051685770720513835","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@azerum/ts-csp","version":"0.0.10","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.10","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"d97808b894155d1c1498f508dfeb70fe9fd9c564","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.10.tgz","fileCount":71,"integrity":"sha512-TG+j7oigo5hGQdjBCYx8DOCG5esK/sQQ7RUUcvAkWWaXuj14IgUtO5aEBVX5wGdT2SLQxCMaL8ifu33zHWoCbw==","signatures":[{"sig":"MEQCIC/7AmXMuRQvLSGNXFKkaT7JbBUW9SgFvsJpS26dAdbWAiAMxfkWAd10Xp1CAVUTAYnaj14kGs1jHBbQ9TlyAeDlEg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91472},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.10.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"rm -rf ./out && tsc -p ./tsconfig.build.json","types":"tsc --noEmit","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/045212645e2511eb5bd5ded303f96afe/azerum-ts-csp-0.0.10.tgz","_integrity":"sha512-TG+j7oigo5hGQdjBCYx8DOCG5esK/sQQ7RUUcvAkWWaXuj14IgUtO5aEBVX5wGdT2SLQxCMaL8ifu33zHWoCbw==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"Go-style/CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.10_1760313057581_0.8364005678633122","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@azerum/ts-csp","version":"0.0.11","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.11","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"5bc97f1a2c64e5f3552f5ade001ef8945ba6c717","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.11.tgz","fileCount":71,"integrity":"sha512-xGchIiIw/OTRirOp4Sw4naQm6wEcJTJjd6aJ2xWTz+1oyIHcvGFGM0ma3ukATH1S9iUuXRkQ7NXEHAfq6M/NPg==","signatures":[{"sig":"MEUCIQCtaNi6Ai3N5Ocjuxjjxds33uK3J6r3xcG6DcvBj/Xh2wIgRBBhHKwWWTYcTAYXRsZLLUn1dzzMjSYSONMfyxGYsZg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91500},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.11.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"rm -rf ./out && tsc -p ./tsconfig.build.json","types":"tsc --noEmit","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/fc585d0472b36ab9194487ae1158230b/azerum-ts-csp-0.0.11.tgz","_integrity":"sha512-xGchIiIw/OTRirOp4Sw4naQm6wEcJTJjd6aJ2xWTz+1oyIHcvGFGM0ma3ukATH1S9iUuXRkQ7NXEHAfq6M/NPg==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"Go-style/CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.11_1760313756877_0.495831207982506","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"@azerum/ts-csp","version":"0.0.12","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.12","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"54405c6b45aa679ffa31db792cfe6cc8193f077b","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.12.tgz","fileCount":71,"integrity":"sha512-7DT4MX/VNk22SfX0679GpgDMX+fdUMrnv0Abss55lZb7rs4oMY6vrhQ5xwBYSaKb3iVo7O4v/QQynfuMK4Z5IQ==","signatures":[{"sig":"MEUCIQCud+SAnSoDhwbQnWvgoAAYyHfcQqRCfsZOc8UVXMrimwIgfkRJANKGlwbygGrb1CHLSowmLCo+ZTtH/Yc6gp5s21Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94859},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.12.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"rm -rf ./out && tsc -p ./tsconfig.build.json","types":"tsc --noEmit","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/1f5a6b3fc7c4105481cca6520deb2b80/azerum-ts-csp-0.0.12.tgz","_integrity":"sha512-7DT4MX/VNk22SfX0679GpgDMX+fdUMrnv0Abss55lZb7rs4oMY6vrhQ5xwBYSaKb3iVo7O4v/QQynfuMK4Z5IQ==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"Go-style/CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.12_1760450026103_0.47167707626563926","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"@azerum/ts-csp","version":"0.0.13","keywords":["csp","concurrency"],"_id":"@azerum/ts-csp@0.0.13","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"homepage":"https://github.com/azerum/ts-csp","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"dist":{"shasum":"8cfa2a0d5f3f2a3a2e2081c2a2e93e746d51c701","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.13.tgz","fileCount":71,"integrity":"sha512-WEAScCLV4Xa2/AGFSrvqnTk4U99X/hEycaEzZNbh3zESM7gH+3PpoKUN22qlcJfHX0AkBmXzVIX7krUwyemLWw==","signatures":[{"sig":"MEUCIQCHvx80rwWJDwrF04xYYvLkLJj+dZ9KqAHAfVDZs2o+CQIgQpsIl0yfnVlzr1n/hmtZk7VZ+6fsacmtVJVGOYXDhGs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94888},"main":"./out/index.js","type":"module","_from":"file:azerum-ts-csp-0.0.13.tgz","types":"./out/index.d.ts","scripts":{"doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts","test":"vitest run --coverage","build":"rm -rf ./out && tsc -p ./tsconfig.build.json","types":"tsc --noEmit","test:dev":"vitest"},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/764e9108f5a0900776306ab6efda35c3/azerum-ts-csp-0.0.13.tgz","_integrity":"sha512-WEAScCLV4Xa2/AGFSrvqnTk4U99X/hEycaEzZNbh3zESM7gH+3PpoKUN22qlcJfHX0AkBmXzVIX7krUwyemLWw==","repository":{"url":"git://github.com/azerum/ts-csp.git","type":"git"},"_npmVersion":"10.9.3","description":"Go-style/CSP-style channels for TypeScript with async/await","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ts-csp_0.0.13_1760798113402_0.6883412237012305","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"@azerum/ts-csp","version":"0.0.14","description":"Go-style/CSP-style channels for TypeScript with async/await","keywords":["csp","concurrency"],"homepage":"https://github.com/azerum/ts-csp","repository":{"type":"git","url":"git://github.com/azerum/ts-csp.git"},"type":"module","main":"./out/index.js","types":"./out/index.d.ts","devDependencies":{"@vitest/coverage-v8":"3.2.4","typedoc":"0.28.13","typescript":"5.9.2","vitest":"3.2.4"},"scripts":{"types":"tsc --noEmit","build":"rm -rf ./out && tsc -p ./tsconfig.build.json","test":"vitest run --coverage","test:dev":"vitest","doc":"typedoc --tsconfig ./tsconfig.build.json --out ./docs ./src/index.ts"},"_id":"@azerum/ts-csp@0.0.14","bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"_integrity":"sha512-1v3U3Pqr0UgnOOw+7R9wxvyPPHXYrYEugnZm+gDvASGNsJGNQBGwZbi/lEV3wGZWbu22GnPQZsl0s6fgeFfYdw==","_resolved":"/private/var/folders/3q/5k04s7056gd85bmtp3_145ph0000gn/T/09b1293b0736d102ebda418e9d124a36/azerum-ts-csp-0.0.14.tgz","_from":"file:azerum-ts-csp-0.0.14.tgz","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-1v3U3Pqr0UgnOOw+7R9wxvyPPHXYrYEugnZm+gDvASGNsJGNQBGwZbi/lEV3wGZWbu22GnPQZsl0s6fgeFfYdw==","shasum":"97d0cb485fa4f661dc48ee774b563223b836ddef","tarball":"https://registry.npmjs.org/@azerum/ts-csp/-/ts-csp-0.0.14.tgz","fileCount":71,"unpackedSize":95116,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDYIQVq7bbg/5WiPDbWIpddEEw2PDYNwl4SG4F7u+/kswIgB+IliQgDCOZOIYGZ4awu4aTLnVNUOcnmXi3XAISPSoQ="}]},"_npmUser":{"name":"azerum","email":"whyareyoureadingmy@gmail.com"},"directories":{},"maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-csp_0.0.14_1762013845836_0.3885102612454643"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-27T02:11:01.443Z","modified":"2025-11-01T16:17:26.235Z","0.0.1":"2025-09-27T02:11:01.759Z","0.0.2":"2025-09-27T15:48:02.549Z","0.0.3":"2025-09-27T17:30:32.343Z","0.0.4":"2025-10-01T17:58:53.087Z","0.0.5":"2025-10-06T13:27:43.219Z","0.0.6":"2025-10-07T15:00:14.086Z","0.0.7":"2025-10-07T17:19:27.372Z","0.0.8":"2025-10-07T18:16:19.643Z","0.0.9":"2025-10-08T14:08:10.907Z","0.0.10":"2025-10-12T23:50:57.757Z","0.0.11":"2025-10-13T00:02:37.079Z","0.0.12":"2025-10-14T13:53:46.280Z","0.0.13":"2025-10-18T14:35:13.591Z","0.0.14":"2025-11-01T16:17:26.030Z"},"bugs":{"url":"https://github.com/azerum/ts-csp/issues"},"homepage":"https://github.com/azerum/ts-csp","keywords":["csp","concurrency"],"repository":{"type":"git","url":"git://github.com/azerum/ts-csp.git"},"description":"Go-style/CSP-style channels for TypeScript with async/await","maintainers":[{"name":"azerum","email":"whyareyoureadingmy@gmail.com"}],"readme":"<span>\n  <a href=\"\" title=\"View this project on NPM\">\n    <img src=\"https://img.shields.io/npm/v/@azerum/ts-csp.svg\" alt=\"NPM version\" />\n  </a>\n</span><br/><br/>\n\nGo-style/CSP-style channels for TypeScript with `async`/`await`. Features:\n\n- `async`/`await` friendly API, `for await`, `AbortSignal`\nfor cancellation\n\n- Buffered & unbuffered channels\n\n- [`select()`](https://azerum.github.io/ts-csp/functions/select.html) like `select{}` statement \nin Go, for **reads & writes**\n\n- `select()` can also take **any `Promise`** or **any async function that takes `AbortSignal`**\n\n- Timeout operations with `select()` + `sleep()`; abort \nvia `AbortSignal` with `select()` + `returnOnAbort()`\n\n- The return type of `select()` is inferred for nice exhaustive matching \n\n- Operators: [`merge()`](https://azerum.github.io/ts-csp/functions/merge.html),\n[`partitionTime()`](https://azerum.github.io/ts-csp/functions/partitionTime.html)\n\n- Works in Node.js and browsers; relies on global `setTimeout`, `AbortController`,\n`AbortSignal`\n\n- Zero dependencies\n\n- Thoroughly tested\n\nFor details see [API docs](https://azerum.github.io/ts-csp/classes/Channel.html)\n\n### Install\n\n```shell\nnpm install -E @azerum/ts-csp\n```\n\n### Stability\n\nExperimental: breaking changes to API are expected\n\n### Examples\n\nSee `src/_examples` directory:\n\n- [Ping-pong](./src/_examples/ping-pong.ts): common introductory example of channels in Go\n\n- [Fast producer and slow consumer](./src/_examples/fast-producer-slow-consumer.ts): demonstrates how backpressure works\n  \n- [Fan-out, fan-in](./src/_examples/fan-out-fan-in.ts): a common pattern to distribute work among N workers and merge the results back\n\n- `select()`:\n  - [Read from multiple channels](./src/_examples/select-read.ts)\n  - [Write into multiple channels](./src/_examples/select-write.ts)\n  - [Cancel read by timeout](./src/_examples/select-timeout.ts)\n  - [Abort reads/writes with AbortSignal](./src/_examples/select-abort.ts)\n  - [Example usage without channels](./src/_examples/select-without-channels.ts): `readline` prompt with timeout\n  - [Explanation of return type inference](./src/_examples/select-inferred-type.ts)\n\n- [Batch processing](./src/_examples/batch-processing.ts): use of `partitionTime()`: \nprocess channel in groups of N items. Useful e.g. to save data in DB in batches\n\n### Inspired by\n\n- Go channels\n- Communicating Sequential Processes - CSP\n- [@thi.ng/csp](thi.ng/csp) - design of return values of\n`read()` and `tryRead()`\n","readmeFilename":"README.md"}