{"_id":"zero-com","_rev":"36-d00c364742bf966be46666e27e85d2a9","name":"zero-com","dist-tags":{"latest":"1.14.4"},"versions":{"0.0.1":{"name":"zero-com","version":"0.0.1","author":"","license":"MIT","_id":"zero-com@0.0.1","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"dist":{"shasum":"c7b17e76f5872af25f8a5d85fdab3c967171c395","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-0.0.1.tgz","fileCount":5,"integrity":"sha512-egOCG/BpQ8tMuAyRA9jNQzDxQZKBHVa2JJHnHNdXrB8R0FTlNrLqxYIgRycOee60J7WTE+tWI8bWP4fn2LmpFQ==","signatures":[{"sig":"MEUCIDlA7GB8l93gdwQHc1CmFPz8Qk+AGyqPsVu6gHEJ7Z7LAiEAr5l/Bghhck/rWIRvo9ss3Rh5Qo/Y/XoGT0nIo8nucPM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27374},"main":"index.js","gitHead":"e8a3a89fad6a18a56cd3b53d87965758cc0c0081","scripts":{"build":"npx tsc"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"_npmVersion":"10.8.3","description":"Zero-byte no-lib utility for transparently linking client-side and server-side code residing in the same full-stack project via RPC.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_0.0.1_1749492273852_0.4330960015979337","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"zero-com","version":"0.0.2","author":"","license":"MIT","_id":"zero-com@0.0.2","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"dist":{"shasum":"ba213fd6c6b02bff3dc45fabae56eed0c8110ecc","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-0.0.2.tgz","fileCount":4,"integrity":"sha512-dxz/lwYzMkz/zqUqfPWuJAaaGR+cTNCoF7bSbC/MJ+GBH55MwlMzokSeTGXjjy9DOuILUxk2qccpj+w8+Ev9UQ==","signatures":[{"sig":"MEUCIEGwamkgJnsyiRNY7ynct1vXGSATw2G+05l88KVjwcx7AiEA0tR3HdMmKnpDvk1vvosiWQOUYevKRoajHKSr/drl32E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20674},"main":"index.js","gitHead":"6af2ed4f6d4ffd018e3c9484a9247986d2e8ccf5","scripts":{"build":"npx tsc"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"_npmVersion":"10.8.3","description":"It is a zero-byte no-lib utility for transparently communicating client-side and server-side modules residing in the same full-stack project.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_0.0.2_1749492879850_0.9186749551826265","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"zero-com","version":"0.0.3","author":"","license":"MIT","_id":"zero-com@0.0.3","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"dist":{"shasum":"7bac10f662ec056b2f0176a18e10b2454b8d0d57","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-0.0.3.tgz","fileCount":5,"integrity":"sha512-8OdY2JB0J2Ylzb1IkqoWwqLuJhXHSvlwKzOz/vYvyx3m3ggJJRaEddJ+znEorVzr+HmknsJ/T0LdxAM6ZzTYLQ==","signatures":[{"sig":"MEUCIBqB6feYeAypO4PF6iN6ouJKR63W9zeCLJiP0prr3kw0AiEAnaWfNGghyXS7CXKs3MWfj5YZ7vIBOAUz6W5QNAFRXaI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27523},"main":"index.js","gitHead":"6af2ed4f6d4ffd018e3c9484a9247986d2e8ccf5","scripts":{"build":"npx tsc"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"_npmVersion":"10.8.3","description":"It is a zero-byte no-lib utility for transparently communicating client-side and server-side modules residing in the same full-stack project.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_0.0.3_1749492923378_0.1656343899686179","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"zero-com","version":"0.0.4","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@0.0.4","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"1aa28063f2f39b7e658909ce54ddfa7dd0b7dbfa","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-0.0.4.tgz","fileCount":5,"integrity":"sha512-EvapjobsfYSGSOF6CoMiyJ3661SauRlmcAP+NaigW41Js3n7mNP1KbXUBmOZKXwyepPKNVI6Pn/0+lxCHn7o/Q==","signatures":[{"sig":"MEQCIBN5RdmhjZ0fEDxbbfFlQ/wKVr4SrjyZElMrfVlo+VlVAiBtH5S8GYDODcffSaoNMJkxksGc7T41JiJmcgR5F+O7Zw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27676},"main":"index.js","gitHead":"bf7050c4e6395ed1f6e96eed64b18c2ebe99f916","scripts":{"build":"npx tsc"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"It is a zero-byte no-lib utility for transparently communicating client-side and server-side modules residing in the same full-stack project.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_0.0.4_1749508352107_0.6747326263365638","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"zero-com","version":"0.0.5","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@0.0.5","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"92a5fb3b8d1234e79e4afcc0710a44d912438afc","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-0.0.5.tgz","fileCount":13,"integrity":"sha512-KxnWM7XKpTjTABDM/5wcALdF1Cg2ezksGQkcdX58tARFpkCte42PnhvlkJarvJMN3Sl6exoKK13OJ4x4B8xIDA==","signatures":[{"sig":"MEYCIQCVy0sDpgSdQ39P86eKe1FjJD2mB8It1lKoGUL0kgaxHwIhAKUvoK13FiJL5bog27JnsvIc4xN/vmm4jKy3srnCr73y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55027},"main":"index.js","gitHead":"ea697da15e7e09c60cfed0fc434ccfe00e995759","scripts":{"build":"npx tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"It is a zero-byte no-lib utility for transparently communicating client-side and server-side modules residing in the same full-stack project.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_0.0.5_1766743539903_0.9423479136646229","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"zero-com","version":"0.0.6","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@0.0.6","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"f1d3690586edff0c7991721004fe071e1d74f568","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-0.0.6.tgz","fileCount":13,"integrity":"sha512-LfK2XC0fV33w/dIVHKaJp+4xrlDEkXKtUbj4+WHW2VvhQTd4n6Y2p05tu88qwLHuPhhA+9gSJarEwsapHiFFgw==","signatures":[{"sig":"MEUCIETlZF0YXj6VlHn6jxc7eTzzQ7bWhRS4IbDrgn5RS6C2AiEA5QjpX8seFJGRTRf4i/9r0hqurBqj8Up984Fhh6QzLNU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42499},"main":"index.js","types":"./index.d.ts","gitHead":"fdbea5da7b4ff5d969d0c87a8cade88e3be9ee2d","scripts":{"build":"npx tsc -d","prepublishOnly":"npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"It is a zero-byte no-lib utility for transparently communicating client-side and server-side modules residing in the same full-stack project.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_0.0.6_1766744812729_0.552221635333477","host":"s3://npm-registry-packages-npm-production"}},"0.0.7-s":{"name":"zero-com","version":"0.0.7-s","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@0.0.7-s","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"08fbf164950805ded9b9057413634fdb8d4f9ff8","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-0.0.7-s.tgz","fileCount":13,"integrity":"sha512-23hm6+C93r8sTuGuf5q6IHJpK8U/dTgqGXlG5cYrWg6HuF0e2BEXFA2y9CXQThOUyMOyDqihyVIS30dR9nVSpA==","signatures":[{"sig":"MEQCIF6tpcelow7ULqeFduT7R1idOzHOQm9Iydz22VY7qUPRAiB/XzceHWxeziOSOgenHUOxf2U85teAQguusxySpf5Fpg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45817},"main":"index.js","types":"./index.d.ts","gitHead":"937f4468c4359274dfcad9ec600950715e80631c","scripts":{"build":"npx tsc -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"It is a zero-byte no-lib utility for transparently communicating client-side and server-side modules residing in the same full-stack project.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_0.0.7-s_1766745615889_0.44059363592303225","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"zero-com","version":"0.0.8","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@0.0.8","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"84ff0569865e976822cf7bd2189d835d71bed75f","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-0.0.8.tgz","fileCount":13,"integrity":"sha512-oGKcZolI7wJXypOu1ombfwM897cCMIfiiUIcfcFYnCMds81ZSEwaruQNHUErGlp0+xVE+q5v6/LjcBlel3FaFQ==","signatures":[{"sig":"MEUCIQCMGjcCY114X4zMaGUFaly/W04VqahH8DqyjsHh3VxOrAIgCifS9g9dQsC41zrWwCpqGRnI+JQLUcCE8SOOzkckp/o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45816},"main":"index.js","types":"./index.d.ts","gitHead":"937f4468c4359274dfcad9ec600950715e80631c","scripts":{"build":"npx tsc -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"It is a zero-byte no-lib utility for transparently communicating client-side and server-side modules residing in the same full-stack project.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_0.0.8_1766745641780_0.5621307951832224","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"zero-com","version":"1.0.0","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.0.0","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"9a27a0d9a10752819a99216d0d08137003879d92","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.0.0.tgz","fileCount":13,"integrity":"sha512-fY1YOzdEedd6CPCsNwD7recPEr9bdg3+2bCOs7BACI4grQblmAGQ7ZxMjJv+gmRrVtwUerBum30UWaoWukkuOw==","signatures":[{"sig":"MEUCIQCqWInso5QoZFFUpvPkCPd1tJY71nW12Hd6G9bL2zCRPAIgFpVOEbNVSayv9mw3Rpyy5pD2R8z02RZ6m6TXdzw08yI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45544},"main":"index.js","types":"./index.d.ts","gitHead":"40014d8c0916609f815d2b109fa6b12011fe0138","scripts":{"test":"vitest run","build":"npx tsc -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"A ~420 Bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.0.0_1769277718161_0.17418058225111221","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"zero-com","version":"1.2.0","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.2.0","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"0ef5d7cb27f7a416899dac87c9db3e66fdec155f","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.2.0.tgz","fileCount":13,"integrity":"sha512-SFCRtJmRElE6xyPt0g5FFkWgIOStCwz+H3bpY7YCOInXqG+g+oLdpGy9fFtRzFGnW/mVLkG4E0GTWze0zjsPcg==","signatures":[{"sig":"MEUCIQDNFK8QGqpVOwnryn0m3omG+gOiJO4bj8uxY5zDGqvS7QIgbgtVpji4kfHHqlRWy8V5rV12YnphQZV2ykkCzTz+RP0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44792},"main":"index.js","types":"./index.d.ts","gitHead":"94620a6636e59d7879c81740226ac4e1dfcd9cc2","scripts":{"test":"vitest run","build":"npx tsc -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"A ~420 Bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.2.0_1769278623469_0.6690470663122883","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"zero-com","version":"1.3.0","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.3.0","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"cd2f5840185dc8601461d30cd46578be21a35fd3","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.3.0.tgz","fileCount":15,"integrity":"sha512-9bbSqrGO44WcU+82q2uymG+upEiJjDTTyVe1ooQhursqxDelGrh9ZT8SqyFrkOC+dMQSGfMm9szL7yx+h4bESA==","signatures":[{"sig":"MEYCIQDQTrkt0FKEIrECXpjGtNYM5MNefail56QWI2X+6lSXDgIhAL6vhvsGtw65s2H/jFLxrQE+Bhm9qTOFvNV8YjaAJ4z6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44784},"main":"index.js","gitHead":"89c389315220b66b32a3c3cdeb419793efdbcb71","scripts":{"test":"vitest run","build":"npx tsc -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"A ~420 Bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.3.0_1769280154721_0.028245796815947966","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"zero-com","version":"1.4.0","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.4.0","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"8dd6a06e1cb44360ccaac63dd00d99859a53cd1e","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.4.0.tgz","fileCount":17,"integrity":"sha512-fgqmYun8vUMGYVaj1UfukV/Nm7kUQ18Gjk/OZq02Aeg7V5OGEyobiooI37+TiyAH+fzFUWoCquVzRknkuw9/cQ==","signatures":[{"sig":"MEUCIG+Vi9LI0+ITn/Uj1Ibh2PUfItjMFla4jn+zffKGWrw6AiEA1GcljBUsD+xe2rCux0lRk/rvQKgIW360r0JCVq0hXVI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45163},"main":"index.js","types":"./index.d.ts","gitHead":"89c389315220b66b32a3c3cdeb419793efdbcb71","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"A ~420 Bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.4.0_1769281051190_0.10389084241269897","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"zero-com","version":"1.5.0","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.5.0","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"d3a3958b799b33bf1ef1d589f5613e63fd0d9015","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.5.0.tgz","fileCount":17,"integrity":"sha512-sBXK5VL7fXk3e0nXzoU+OWWWz0F6OZ0kJxddch5siuU7XSGN3eegpgO8eUIGuktTCdM38vYwiNOGQgtviqBlng==","signatures":[{"sig":"MEUCIE7jNJq6bxVQ+VkX1mwci9/hr0eDdH+PDmg86OiowSWIAiEAgMAsJFyfM+ZTAmAD8rN9wIhCnbMbye1aPXWrDpwCz9o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45309},"main":"index.js","types":"./index.d.ts","gitHead":"89c389315220b66b32a3c3cdeb419793efdbcb71","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"A ~420 Bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.5.0_1769281228786_0.5916053166835937","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"zero-com","version":"1.6.0","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.6.0","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"6216d7fae930e5607912bff1c23a694e06cb7a1f","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.6.0.tgz","fileCount":17,"integrity":"sha512-7/1qo9QLcwkLtQ7pyy6ejeHEpuzg16LqhlaQdoOobt1YWfgIqrTlL7WxgRi6zCj/7DAP2yNr3FDK5+1hO+QkGQ==","signatures":[{"sig":"MEUCIQC9/PaLsyrHGAdh7yWKwsaAUDvD8xiLGMFAq9Mq633ImwIgdwa2zOd05aLdjob9PSutjxyBWEiMKMlgTxYnjX5R2HU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46972},"main":"index.js","types":"./index.d.ts","gitHead":"89c389315220b66b32a3c3cdeb419793efdbcb71","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"A ~420 Bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.6.0_1769282096489_0.3999312633603074","host":"s3://npm-registry-packages-npm-production"}},"1.6.2":{"name":"zero-com","version":"1.6.2","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.6.2","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"812cc1ec1f9f096f3af0d3fc192bfda0baf254da","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.6.2.tgz","fileCount":17,"integrity":"sha512-0VDfQ+5xfKE9wCAcWqSHrejX6Dq+iReUzomVlcLxt5jBHdOTKPlKCJiEGNsn7MQAHy5aooYHEbOKNjMKON7oGg==","signatures":[{"sig":"MEUCIQDEatjMzwuz9mOHrj2CGKvi8yEraTQ6IX2lOipBr6hyXwIgXDrfJrvoAvzX9f1HFJ4+SA4PT7/ELyu5OU692hdi/MM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46972},"main":"index.js","types":"./index.d.ts","gitHead":"89c389315220b66b32a3c3cdeb419793efdbcb71","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"A ~420 Bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.6.2_1769282286599_0.7849478089628201","host":"s3://npm-registry-packages-npm-production"}},"1.6.3":{"name":"zero-com","version":"1.6.3","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.6.3","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"67f5b87cb177b6c06b9d2e6c30df5b7ccb1c5589","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.6.3.tgz","fileCount":17,"integrity":"sha512-wBQApaU4Iwghrq67l+33K6OMYGzl98rqgBqc8SWAvwWavrprUaPwMupl3xMldAPzZf5XJrSorK+NbRkx2B2i0Q==","signatures":[{"sig":"MEYCIQDqbLUI/SW7TrpbdORHL4ewaXdhvzDY/2kJTJfOLQbBKAIhAMihWdN4BgWpaPVWymu8y7v1SAzo05ILVxsIZpXQT57X","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49052},"main":"index.js","types":"./index.d.ts","gitHead":"89c389315220b66b32a3c3cdeb419793efdbcb71","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The ~85 Bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.6.3_1769389172530_0.642282107285538","host":"s3://npm-registry-packages-npm-production"}},"1.6.4":{"name":"zero-com","version":"1.6.4","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.6.4","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"79d3a108555fa386c8cccce7a888e3f5feadf15a","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.6.4.tgz","fileCount":17,"integrity":"sha512-GVWkwfqeo/9DO+8mYTNw7se3kVlElzTgNb0fMcNTmJIseKNgGnVfaxxewxhlV+esxf7ZinCcKyHOUD7zZL7ocQ==","signatures":[{"sig":"MEUCIQD311Zl4TYrgny9rBkt6U5ADHDQxpcWO1MV59vMlEhfNAIgVmrX3Wc+Zvd5K16tTmmroHL67ZFHf2Pu1CbnhxXn6pI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47042},"main":"index.js","types":"./index.d.ts","gitHead":"89c389315220b66b32a3c3cdeb419793efdbcb71","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.6.4_1769392438920_0.5435651917569291","host":"s3://npm-registry-packages-npm-production"}},"1.6.5":{"name":"zero-com","version":"1.6.5","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.6.5","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"09b76c207ddf7df69647fc619780faab0628ce3a","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.6.5.tgz","fileCount":17,"integrity":"sha512-Uqc6qtzDFpUEHSuN5t6uKLLdAnOMcODlSiw3DXr9vIzGZZIl2SncJpSO7aFBd6G054GO7y7XffO+1JMyUiY8ew==","signatures":[{"sig":"MEQCIH1UXvwIVutAdcPvuLKPIUjSN6fJebvhyn0SMwTYv5vPAiBFCdydZnSu5bbhuWUb7LjvBL1PcoDacnmg2xVsDGk1/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50065},"main":"index.js","types":"./index.d.ts","gitHead":"5da8b4c4a15d8929329f0aad4d49015ef9dc193b","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.6.5_1769438358033_0.298817077363174","host":"s3://npm-registry-packages-npm-production"}},"1.6.6":{"name":"zero-com","version":"1.6.6","keywords":["webpack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.6.6","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"fa6c68b6bd626d551a5f68d41231e8a6188a48fd","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.6.6.tgz","fileCount":17,"integrity":"sha512-7Hu+qUnT98Wtx96vgRAyrqc0XFsXbaM+B3vSISt+xfTseLrL/BSD0kR7uZuQ9N73/DxNoAUhaCDomCN7bvvklw==","signatures":[{"sig":"MEYCIQCxgvw8ikPh4xbvPGnsid7dcxCO7WhFc7/gq9Yp06RvzQIhAKVjlv8cmWHG71LA77d9MJLiHvyNP/+PXdXX6p0y4Nwg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53068},"main":"index.js","types":"./index.d.ts","gitHead":"2b08a88587ae0b66de31512a36ca63b543c39ef6","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.6.6_1769449975701_0.6941139998396035","host":"s3://npm-registry-packages-npm-production"}},"1.7.1":{"name":"zero-com","version":"1.7.1","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.7.1","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"455b645d1bbe86a02fb79662ea989e0e52543206","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.7.1.tgz","fileCount":19,"integrity":"sha512-ArSw2psDNjxmMBGjkQ7qKGziSsGq03BGxRYs3WI00x5uhJJ02u9d6N2fsE7UCvi6Ms0ZQ6WmOWdowSdFv28GgA==","signatures":[{"sig":"MEUCIFWWURtc9s/342wgBoB8Yc0yGjjFRoWKvpIt1ePcoz/ZAiEAyYDWtZTbz/m73yGqt9EhQNp/DW2ffuVVQrVZrvKnC60=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54826},"main":"index.js","types":"./index.d.ts","gitHead":"e292eaa88b5f6f8e08d29b64fb390c6a0568af39","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.7.1_1770427784310_0.6612602405012054","host":"s3://npm-registry-packages-npm-production"}},"1.8.1":{"name":"zero-com","version":"1.8.1","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.8.1","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"5bf388d36779a9f15d19f39e619a9798fe9195a1","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.8.1.tgz","fileCount":19,"integrity":"sha512-LZ9zadLvHgAY5Nqb/iIsNygfiHhE/ooF05ImhhReF/Y5i74/aIcWTgMcAkPhkbhE4mfXkWlkmX8TBiZFkPNVNA==","signatures":[{"sig":"MEQCIATJG1YGOOLcLdCNVgMYJYRpxGMr78dqex2l1iCqVFxZAiB1N8S6bhzyAyY6EG91QT320dU63CZry7/u+/bXqOR9HA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56054},"main":"index.js","types":"./index.d.ts","gitHead":"fc1bacb19dbc24213c70eb74132822b5ce169f93","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.8.1_1770785426063_0.2937313702656503","host":"s3://npm-registry-packages-npm-production"}},"1.9.1":{"name":"zero-com","version":"1.9.1","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.9.1","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"835ed2ef91fd2086503c5e25d21f87856ef4e250","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.9.1.tgz","fileCount":19,"integrity":"sha512-kB4btQxVxuBesVVmqXMvIkYdddIXI/FW9iEkev8/oCP2ia8Z7rwx1hRkKN3GvuwQ3FpaZObcNdB2/VVm7j6ZCg==","signatures":[{"sig":"MEUCIQDUvxOpOsskqnR5U5klfhkMmOWrIcrvKftZAyd5wFXDpAIgUB1zibs2Hy97WCR47luYZ0kRfU7lsLX8nSCr0WqhKIE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58056},"main":"index.js","types":"./index.d.ts","gitHead":"1af47a5955db87333af19edbdd441db5b594cae3","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.9.1_1770836633565_0.06303890709465976","host":"s3://npm-registry-packages-npm-production"}},"1.9.2":{"name":"zero-com","version":"1.9.2","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.9.2","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"6cd9184ec4c61fe2899fd632b2c0322002c954ea","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.9.2.tgz","fileCount":19,"integrity":"sha512-FCwdZcPwPAYl9tdGvWkp9CbsjMAErB1q2nNyxbQIWWPVQYAveqmRY003Ww0GtGjBWK1bcHifBcD/lE7cpxuprA==","signatures":[{"sig":"MEUCICT+E0MucCXdOGM6YmzgcnEz66DbB3LYpOUb/MxBzDKyAiEAuTu4rQlXO+JnlYMkOMZnfZ1CZN+262ErADZ16uBe+cA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58074},"main":"index.js","types":"./index.d.ts","gitHead":"cfb3ae66719c33c357a93f5a8792230809b4eab9","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.9.2_1770841102128_0.1434482343610357","host":"s3://npm-registry-packages-npm-production"}},"1.10.2":{"name":"zero-com","version":"1.10.2","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.10.2","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"1416b0b3ddd23c04b478974ce8f16b59aa4c04f7","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.10.2.tgz","fileCount":19,"integrity":"sha512-Qor8KQWEd2ps9+EvUh5iiX9mk7AShLVGI5HLh4W3mfFYaQEGmbNTShdKkzcnirf3bPQrSIS5TuvtLChWwQBb6A==","signatures":[{"sig":"MEYCIQDIZFp6/U5fht3ecHj8qaYp1TFSlzNZG5U+6dPoul9WEAIhAPYk+D83XK3nKOiZRxnkQQFNd5HXr2CjQi2bpFrj/iWM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58312},"main":"index.js","types":"./index.d.ts","gitHead":"d934f2d914105306e40fa2179f2a1219266446ad","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.10.2_1770847129934_0.9736333667520944","host":"s3://npm-registry-packages-npm-production"}},"1.12.0":{"name":"zero-com","version":"1.12.0","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.12.0","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"ed65bdcbcdc13ccadd60632049b9553898911999","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.12.0.tgz","fileCount":19,"integrity":"sha512-cFe1Fnw37QuQjJXxH6104fp0ovIRYzo+/tKo4+pVWijuAnjMpoQMx0vH2qVMWf7Yvh78ZMt2qF1eIlYbml73GA==","signatures":[{"sig":"MEUCIQCiBHtKmFj4wExyZ5RX++n7tKRfNAe6vzoX0r5U6MfuwwIgLhbsj5dRDbkY6GaC10YpOSyZEzrHwVZbHDG5B6/N2DI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62101},"main":"index.js","types":"./index.d.ts","gitHead":"85d034590387df8551edd785241c5a59a8da0628","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.12.0_1773595433119_0.24097767190261155","host":"s3://npm-registry-packages-npm-production"}},"1.12.1":{"name":"zero-com","version":"1.12.1","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.12.1","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"2175cf6771b2747faad52148845fcb946b5e4d5c","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.12.1.tgz","fileCount":19,"integrity":"sha512-vybDanISopLeRg9TB2DrMvCjImuoP3RJU2kBDVpYXctXRhhOIla4id6OQ4fROgMFJJrH9+GiwL70VB9DYyDhXQ==","signatures":[{"sig":"MEUCIQCYPcqmnFU4sZaFO0eQzy+y/dZwFs+SW2FFblqzBo7GYAIgJGJjhR7ScKJMQwf/uVrDFKVttl9hs/AawdC1X84ucNo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62962},"main":"index.js","types":"./index.d.ts","gitHead":"410d51d3a7afad58fc04cdfd45b5c7d242757c1d","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.12.1_1773597303933_0.17037933546664474","host":"s3://npm-registry-packages-npm-production"}},"1.12.2":{"name":"zero-com","version":"1.12.2","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.12.2","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"a62814f808ff65c9fbcc580b2f3d7a7528cd091f","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.12.2.tgz","fileCount":19,"integrity":"sha512-nFJQRLlaPT8iAWBzGxwqXGT+AeM1yZCNlua5PEobTENKzf+y/rORtkJHWRHCfhvrSUT7g34X/LOYWv9EwH2wUQ==","signatures":[{"sig":"MEUCIQCyMvnbTMgPW2VcLMVsWVS6g+k7uKpkgx06VGiQY7r7pAIgaOLPBIuw8hdd/St8ZVt+TB4DXJRqiXldsRnfIgXULYk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62101},"main":"index.js","types":"./index.d.ts","gitHead":"4493ef92425f18a4362a6685493740e404759007","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.12.2_1773597926324_0.8887991661542602","host":"s3://npm-registry-packages-npm-production"}},"1.13.0":{"name":"zero-com","version":"1.13.0","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.13.0","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"085b4155403e1e371d451525bfe2a3510e32fbba","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.13.0.tgz","fileCount":19,"integrity":"sha512-cOYIjnc3HECxQmJmAVbU+ymOAIVgme20p5kZNq7vcTQXjRQWDa9wH5OCNo4/Yzo74v6D2uBzsy83RSXqs175Vw==","signatures":[{"sig":"MEUCIDJfE94yfdX3INWPTaQ0U683eqXc/R3ydmKXRm/pErd9AiEAvA40oMz9McqrNC2LYUJnMgN9TAz6ECAzUXvumeQxzqI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63398},"main":"index.js","types":"./index.d.ts","gitHead":"de7bf24e8ebf5ae7ba69bf66804760f9fc527c32","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.13.0_1774658541755_0.7325468808574891","host":"s3://npm-registry-packages-npm-production"}},"1.13.1":{"name":"zero-com","version":"1.13.1","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.13.1","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"b0209bcbb8b5e0b59f753fddbe55b58390295ef0","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.13.1.tgz","fileCount":19,"integrity":"sha512-mwDQGveA7Jq8WK6pV1u739jQ/9zlpsCcopWCjAF4OiAcBLtPMR9CsNK8p/70B0keNrky+08MVoyHVJT0oKsa2w==","signatures":[{"sig":"MEYCIQCtm4h4wAXaHvx/3fwgV71lS+7to53kMMzEsYj8GyQ25QIhALex/sUUj+FKwYoJFd1ZWVI4pXdEHHjDPZNQ80ZXAlPu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64624},"main":"index.js","types":"./index.d.ts","gitHead":"444a0829c924c20116242286a402dfb652652e1d","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.13.1_1774665726012_0.8851484392371896","host":"s3://npm-registry-packages-npm-production"}},"1.13.2":{"name":"zero-com","version":"1.13.2","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.13.2","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"75bf48b1484b5a2bbac1644441723683f9ce25d8","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.13.2.tgz","fileCount":19,"integrity":"sha512-0tAWAx5R9s2cblSgrwBor8fwAm5Ifpzi7cn4qdPAVSF4jUE/iQmM9pTLm4CWlrJziI2ts0yWu1gvbdMUhUxmxg==","signatures":[{"sig":"MEQCICOoxFNIWbqmT/iCRHbPBcI9mKjkV0l2ztogtKgiTpHTAiAcKftiUtS0WFfXUFL7SKReSfXrdCB3vgDHFfykb9XcyQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65715},"main":"index.js","types":"./index.d.ts","gitHead":"113767233dc1b86245e41cf3714d06fd2b679660","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.13.2_1774869713826_0.8456568917140652","host":"s3://npm-registry-packages-npm-production"}},"1.13.3":{"name":"zero-com","version":"1.13.3","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.13.3","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"755de4a028731d51168713b16e182375482c41ea","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.13.3.tgz","fileCount":19,"integrity":"sha512-Pet4H3hblur4PyM/rD9rmW2B+Yj9QoDSKgFycsRaPb4b2c1yiPSxQpdZLYAZNtO0byUQm3oUyaUv7L9zhN0eNw==","signatures":[{"sig":"MEUCIHe9T1CEOCVJAfWGxckijXOC5x17K7DwWO0YVCQlIq1kAiEAsdkX4th0msS4N3A16cQgb5Yn0Ey4PeRp2t8mgOyW4Y4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66698},"main":"index.js","types":"./index.d.ts","gitHead":"3083357824aac2ede6fe20ae3fc991ac413a3876","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.13.3_1774871178763_0.6049162889545059","host":"s3://npm-registry-packages-npm-production"}},"1.13.4":{"name":"zero-com","version":"1.13.4","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.13.4","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"a61c6d7cd4401a36e0369bec7f4f0dd73a7466f8","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.13.4.tgz","fileCount":23,"integrity":"sha512-mkjmyt1tuEaAryc91EYtt3//0sVi6sXep/HokW056wS/Rg5yHWKln98f1uyFih6Jf5PfoegGmtrX1M75k5Mjew==","signatures":[{"sig":"MEUCIQDgEoA4UELdbgogMK/kzeM0Z65yJvvPND9E5/RqUYJclwIgfPaFLM1C04cQc7LuwC50UID49R3XDHqyxPbtjx7+WCw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66514},"main":"index.js","types":"./index.d.ts","browser":{"./lib/async-local-storage.js":"./lib/async-local-storage.browser.js"},"gitHead":"a95560801f3c440cdc4a4ddffbdbb931255b3009","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.13.4_1775494595608_0.5930503283353092","host":"s3://npm-registry-packages-npm-production"}},"1.14.0":{"name":"zero-com","version":"1.14.0","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.14.0","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"c8c02dea1dbc7dcde396da0ef95a75b4bcfba231","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.14.0.tgz","fileCount":23,"integrity":"sha512-HG/9iO2w/iLz+JtKuAlIkrsqN1emD4UD4IKP83xDodjDMfSdDfq6B3hHINEXvCNDu4kxShXHzBDSBPZtZ29bHg==","signatures":[{"sig":"MEQCIAfANy5UXIvvunEX80ZeT9ao9uYtiVMoesWaLpzlTlcAAiBKR6CqmwMYD2gonI0EdXn4Q9bRJbpKLIaBM9NnhpxU0g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":67002},"main":"index.js","types":"./index.d.ts","browser":{"./lib/async-local-storage.js":"./lib/async-local-storage.browser.js"},"gitHead":"a95560801f3c440cdc4a4ddffbdbb931255b3009","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.14.0_1775621906589_0.7586222974235228","host":"s3://npm-registry-packages-npm-production"}},"1.14.1":{"name":"zero-com","version":"1.14.1","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.14.1","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"a34f198c7819df00a6bcb3926d124726979ca393","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.14.1.tgz","fileCount":23,"integrity":"sha512-deRr6r+ZYnZ+aK9xKepRuDj1De/ztci3cJySLKnGRguP7FhRovBYAtxQRF8jFVrNZzIMTdAJdUNew3bargiTxQ==","signatures":[{"sig":"MEYCIQDlzzwc4cQiATNPBmUK1/9ezhOj742WJEDPp1wJYQaUNQIhAP/uLnm+NE14FyfmJs/VRJkQCYZV4LoJZzGPWffvrVn0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":67555},"main":"index.js","types":"./index.d.ts","browser":{"./lib/async-local-storage.js":"./lib/async-local-storage.browser.js"},"gitHead":"5e061c23e85dc9d3d40c0f893fc15dff1c3b5236","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.14.1_1775625931962_0.7893847845002719","host":"s3://npm-registry-packages-npm-production"}},"1.14.2":{"name":"zero-com","version":"1.14.2","keywords":["webpack","turbopack","api","node","http","server","client"],"author":"","license":"MIT","_id":"zero-com@1.14.2","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"homepage":"https://github.com/yosbelms/zero-com#readme","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"dist":{"shasum":"dfed1cbf015842649742273c5a592b2398e81206","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.14.2.tgz","fileCount":23,"integrity":"sha512-TmcbLHvuMZqn8vAj45os+QntMvBIJrLoVCybSzGjJQY42JtpIDUY9NHcwTWrGT6ITdmDsTLH/slDpQYpxb18LQ==","signatures":[{"sig":"MEUCIQDfJ77ZCpngzUgzi1R1jnsuolymEpNJdAHMM9FvCkqLtwIgWQRHg3PaCFN+kaqp+keiO7StCE+gutkvlAI6xas/RGw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69887},"main":"index.js","types":"./index.d.ts","browser":{"./lib/async-local-storage.js":"./lib/async-local-storage.browser.js"},"gitHead":"db45e74fc895217b8ca7446bcd59cdab670832ff","scripts":{"test":"vitest run","build":"npx tsc -p tsconfig.build.json -d","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","test:watch":"vitest","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"repository":{"url":"git+https://github.com/yosbelms/zero-com.git","type":"git"},"_npmVersion":"10.8.3","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"ts-morph":"^26.0.0","minimatch":"^10.0.1","magic-string":"^0.30.21"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.52.5","vitest":"^4.0.18","typescript":"^5.8.3","@types/node":"^25.0.10","@types/webpack":"^5.28.5"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zero-com_1.14.2_1775664430841_0.26492331812048175","host":"s3://npm-registry-packages-npm-production"}},"1.14.4":{"name":"zero-com","version":"1.14.4","main":"index.js","browser":{"./lib/async-local-storage.js":"./lib/async-local-storage.browser.js"},"repository":{"type":"git","url":"git+https://github.com/yosbelms/zero-com.git"},"keywords":["webpack","turbopack","api","node","http","server","client"],"scripts":{"build":"npx tsc -p tsconfig.build.json -d","test":"vitest run","test:watch":"vitest","clean":"find . -type f \\( -name \"*.js\" -o -name \"*.js.map\" -o -name \"*.d.ts\" -o -name \"*.d.ts.map\" \\) | grep -v \"./node_modules\" | xargs rm","prepublishOnly":"npm run clean && npm run build"},"author":"","license":"MIT","description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","dependencies":{"magic-string":"^0.30.21","minimatch":"^10.0.1","ts-morph":"^26.0.0"},"devDependencies":{"@types/node":"^25.0.10","@types/webpack":"^5.28.5","rollup":"^4.52.5","typescript":"^5.8.3","vitest":"^4.0.18"},"peerDependencies":{"typescript":"^5.0.0"},"_id":"zero-com@1.14.4","gitHead":"6ce3c4fc73c5feeb663e50d3d9462cfd7b6e34e1","types":"./index.d.ts","bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"homepage":"https://github.com/yosbelms/zero-com#readme","_nodeVersion":"22.5.1","_npmVersion":"10.8.3","dist":{"integrity":"sha512-krQIgYt+UBpLFfrp/v7bty54CLp6Eys5u3K0KnMZUkXxGxGSFgmRoMkaYrNmpDiO/vztMPEH8Q5Zgc6IB7LgnA==","shasum":"40e9b1c021199941af8faea6d3651826edeb4262","tarball":"https://registry.npmjs.org/zero-com/-/zero-com-1.14.4.tgz","fileCount":23,"unpackedSize":70610,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIG0jxnB+vd7k+cuWB7mxCZfcOflAEFn60OCKZ07n6TF5AiAs5B1N0PUbmf5xl8SVfytmEqdX5eN0t/PabQWnCyRmcg=="}]},"_npmUser":{"name":"yosbelms","email":"yosbelms@gmail.com"},"directories":{},"maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zero-com_1.14.4_1775665897320_0.2289038761163873"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-09T18:04:33.851Z","modified":"2026-04-08T16:31:37.614Z","0.0.1":"2025-06-09T18:04:34.021Z","0.0.2":"2025-06-09T18:14:40.044Z","0.0.3":"2025-06-09T18:15:23.660Z","0.0.4":"2025-06-09T22:32:32.280Z","0.0.5":"2025-12-26T10:05:40.054Z","0.0.6":"2025-12-26T10:26:52.864Z","0.0.7-s":"2025-12-26T10:40:16.031Z","0.0.8":"2025-12-26T10:40:41.935Z","1.0.0":"2026-01-24T18:01:58.317Z","1.2.0":"2026-01-24T18:17:03.621Z","1.3.0":"2026-01-24T18:42:34.863Z","1.4.0":"2026-01-24T18:57:31.341Z","1.5.0":"2026-01-24T19:00:28.925Z","1.6.0":"2026-01-24T19:14:56.633Z","1.6.2":"2026-01-24T19:18:06.752Z","1.6.3":"2026-01-26T00:59:32.662Z","1.6.4":"2026-01-26T01:53:59.078Z","1.6.5":"2026-01-26T14:39:18.186Z","1.6.6":"2026-01-26T17:52:55.843Z","1.7.1":"2026-02-07T01:29:44.452Z","1.8.1":"2026-02-11T04:50:26.200Z","1.9.1":"2026-02-11T19:03:53.725Z","1.9.2":"2026-02-11T20:18:22.282Z","1.10.2":"2026-02-11T21:58:50.070Z","1.12.0":"2026-03-15T17:23:53.265Z","1.12.1":"2026-03-15T17:55:04.092Z","1.12.2":"2026-03-15T18:05:26.483Z","1.13.0":"2026-03-28T00:42:21.929Z","1.13.1":"2026-03-28T02:42:06.156Z","1.13.2":"2026-03-30T11:21:53.970Z","1.13.3":"2026-03-30T11:46:18.912Z","1.13.4":"2026-04-06T16:56:35.759Z","1.14.0":"2026-04-08T04:18:26.726Z","1.14.1":"2026-04-08T05:25:32.120Z","1.14.2":"2026-04-08T16:07:10.999Z","1.14.4":"2026-04-08T16:31:37.509Z"},"bugs":{"url":"https://github.com/yosbelms/zero-com/issues"},"license":"MIT","homepage":"https://github.com/yosbelms/zero-com#readme","keywords":["webpack","turbopack","api","node","http","server","client"],"repository":{"type":"git","url":"git+https://github.com/yosbelms/zero-com.git"},"description":"The 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.","maintainers":[{"name":"yosbelms","email":"yosbelms@gmail.com"}],"readme":"# Zero-com\n\nThe 0 bytes utility for transparently communicating client and server in full-stack projects through compile-time code transformation, with end-to-end static type checking.\n\n## Table of Contents\n\n- [Usage](#usage)\n- [Transport layer](#transport-layer)\n- [Context](#context)\n- [Server-to-Server Calls](#server-to-server-calls)\n- [Plugin options](#plugin-options)\n- [Complete Example](#complete-example)\n\n## Usage\n\nZero-com can be used with either Webpack or Rollup.\n\n### Webpack\n\nTo use Zero-com with Webpack, you need to add the `ZeroComWebpackPlugin` to your `webpack.config.js` file.\n\n```javascript\n// webpack.config.js\nconst { ZeroComWebpackPlugin } = require('zero-com/webpack');\n\nmodule.exports = {\n  // ... your webpack config\n  plugins: [\n    new ZeroComWebpackPlugin({\n      development: true,\n    }),\n  ],\n};\n```\n\n### Rollup\n\nTo use Zero-com with Rollup, you need to add the `zeroComRollupPlugin` to your `rollup.config.js` file.\n\n```javascript\n// rollup.config.js\nimport zeroComRollupPlugin from 'zero-com/rollup';\n\nexport default {\n  // ... your rollup config\n  plugins: [\n    zeroComRollupPlugin({\n      development: true,\n    }),\n  ],\n};\n```\n\nThe above code will identify all the references from client-side code to the server-side files and will tranform the modules to comunicate through your defined transport layer. The only callable functions in the server-side modules will be the exported async functions. See the example below.\n\nServer side\n```ts\n// server/phones.ts\nimport { func } from 'zero-com';\n\nexport const getPhones = func(async () => {\n  // ...\n})\n```\n\nClient side\n```tsx\n// client/phones.tsx\nimport { getPhones } '../server/phones'\n```\n\n## Transport layer\n\nZero-com does not define any transport layer, it is up to you to create one or reuse your own. This means you have complete control over how data is sent between the client and server.\n\n### Client-side\n\nAll messages from the client-side will be sent using the transport function you define. Import `call` from `zero-com` and pass your transport function.\n\n```javascript\n// client/transport.js\nimport { call } from 'zero-com';\n\ncall(async (funcId, params) => {\n  const response = await fetch('http://localhost:8000/api', {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application/json',\n    },\n    body: JSON.stringify({ funcId, params }),\n  });\n  return await response.json();\n});\n```\n\n### Server-side\n\nOn the server-side, you need to create a handler that receives messages from the client, executes the corresponding function, and returns the result. Import `handle` from `zero-com` and call it with the function ID, context, and arguments.\n\n```javascript\n// server/api.js\nimport { handle } from 'zero-com';\n\nconst someCustomHandler = async (message, ctx) => {\n  return await handle(message.funcId, ctx, message.params);\n};\n\n// Example of how to use the handler with an Express server\nimport express from 'express';\n\nconst app = express();\napp.use(express.json());\n\napp.post('/api', async (req, res) => {\n  try {\n    const ctx = { req, res };\n    const result = await someCustomHandler(req.body, ctx);\n    res.json(result);\n  } catch (error) {\n    res.status(500).json({ error: error.message });\n  }\n});\n\napp.listen(8000, () => {\n  console.log('Server running at http://localhost:8000/');\n});\n```\n\n## Context\n\nOften you want to access context-related data in your server functions, such as the request, response, session, etc. Zero-com provides a simple way to do this using the `context()` function.\n\n### Accessing Context in Server Functions\n\nTo access context in a server function, call the `context<T>()` function inside your function body. The context is automatically available when the function is called via `handle()`.\n\n```typescript\n// server/api/phones.ts\nimport { func, context } from 'zero-com';\n\ntype MyContext = {\n  req: any;\n  res: any;\n  userId: string;\n}\n\nexport const getPhones = func(async (name: string) => {\n  // Get the context inside the function\n  const ctx = context<MyContext>();\n\n  console.log('User:', ctx.userId);\n  console.log('Headers:', ctx.req.headers);\n\n  // ... your code\n});\n```\n\n### Providing Context on the Server\n\nPass the context as the second argument to `handle()`. The context will be available to the function and any nested server function calls.\n\n```javascript\n// server/api.js\nimport { handle } from 'zero-com';\n\napp.post('/api', async (req, res) => {\n  const { funcId, params } = req.body;\n\n  // Create context with request data\n  const ctx = {\n    req,\n    res,\n    userId: req.headers['x-user-id']\n  };\n\n  // Pass context to handle - it will be available via context()\n  const result = await handle(funcId, ctx, params);\n  res.json(result);\n});\n```\n\n## Server-to-Server Calls\n\nWhen one server function calls another server function, the call bypasses the transport layer and executes directly. Context is automatically propagated to nested calls.\n\n```typescript\n// server/api/user.ts\nimport { func, context } from 'zero-com';\n\nexport const getFirstName = func(async () => {\n  const ctx = context<{ userId: string }>();\n  // ... fetch first name from database\n  return 'John';\n});\n\n// server/api/profile.ts\nimport { func, context } from 'zero-com';\nimport { getFirstName } from './user';\n\nexport const getFullName = func(async (lastName: string) => {\n  // This calls getFirstName directly (no transport layer)\n  // Context is automatically propagated\n  const firstName = await getFirstName();\n  return `${firstName} ${lastName}`;\n});\n```\n\nWhen `getFullName` is called from the client:\n1. The call goes through the transport layer to the server\n2. `handle()` sets up the context\n3. `getFullName` executes and calls `getFirstName`\n4. `getFirstName` executes directly (no transport) with the same context\n5. Both functions can access `context()` with the same data\n\n## Calling server functions outside handle()\n\nServer functions can be called from any server-side code, not only through the RPC path. This is useful for server-side-only integrations like authentication callbacks, cron jobs, or webhook handlers.\n\n```typescript\n// pages/api/auth/[...nextauth].ts  (Next.js example)\nimport { getUserByCredentials } from '../../../server/auth/funcs'\n\nconst user = await getUserByCredentials(email, password)\n```\n\nWhen called outside `handle()`, the function executes directly with no context. If the function calls `context()` internally, it throws:\n\n```\nError: context() called outside of a server function\n```\n\nUse `runWithContext` to provide a context in those cases:\n\n```typescript\nimport { runWithContext } from 'zero-com'\n\nconst authorize = async (credentials) => {\n  return runWithContext({}, async () => {\n    const user = await getUserByCredentials(credentials.email, credentials.password)\n    return user ?? null\n  })\n}\n```\n\n`runWithContext` accepts any object as the context value, which will be returned by `context()` inside any server function called within the callback.\n\nWhen called inside `handle()`, context is propagated automatically to the function and any nested `func()` calls, same as the normal RPC path.\n\n## File boundary rule\n\nAny file that contains `func()` exports is treated as a **server-only module**. On the client build the plugin replaces the **entire file** with lightweight RPC stubs — only the `func()` exports survive, everything else in that file is discarded.\n\nThis means you must not mix `func()` declarations with client-side code (state, UI utilities, etc.) in the same file. The pattern is the same as Next.js `\"use server\"` files: one side of the boundary per file.\n\n**Wrong** — `connect` will be `undefined` on the client because the whole file is replaced:\n\n```ts\n// store.ts  ❌\nimport { func } from 'zero-com'\nimport { createStore } from './create-store'\n\nexport const { connect, useStore } = createStore(...)  // lost on client\n\nexport const getPhones = func(async () => { ... })\n```\n\n**Right** — separate the RPC calls from client state:\n\n```ts\n// funcs.ts  ✅  (replaced with stubs on client)\nimport { func } from 'zero-com'\nexport const getPhones = func(async () => { ... })\n\n// store.ts  ✅  (untouched on client)\nimport { createStore } from './create-store'\nexport const { connect, useStore } = createStore(...)\nexport * from './funcs'\n```\n\n## Plugin options\n\n| Option      | Type      | Description                                                                 |\n|-------------|-----------|-----------------------------------------------------------------------------|\n| `development` | `boolean`   | If `false`, will add internal variable renaming to the final bundle.        |\n| `target`    | `'client' \\| 'server'` | When `'client'`, server function files are replaced with lightweight RPC stubs containing no server dependencies. When `'server'`, full function bodies and registry code are preserved. When omitted, the Vite/Rollup plugin infers it from the `ssr` flag in the `transform` hook. |\n\n## Complete Example\n\nHere's a complete example of how to use Zero-com in a project.\n\n### Project Structure\n\n```\n.\n├── package.json\n├── webpack.config.js\n├── rollup.config.js\n└── src\n    ├── client\n    │   ├── index.ts\n    │   └── transport.ts\n    └── server\n        └── api\n            └── phones.ts\n```\n\n### Client-side\n\n```typescript\n// src/client/index.ts\nimport { getPhones } from '../../server/api/phones';\n\nasync function main() {\n  const phones = await getPhones('iPhone');\n  console.log(phones);\n}\n\nmain();\n```\n\n```typescript\n// src/client/transport.ts\nimport { call } from 'zero-com';\n\ncall(async (funcId, params) => {\n  const response = await fetch('http://localhost:8000/api', {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application/json',\n    },\n    body: JSON.stringify({ funcId, params }),\n  });\n  return await response.json();\n});\n```\n\n### Server-side\n\n```typescript\n// src/server/api/phones.ts\nimport { func, context } from 'zero-com';\n\ntype Context = {\n  req: any;\n  res: any;\n}\n\nexport const getPhones = func(async (name: string) => {\n  // Access context when needed\n  const ctx = context<Context>();\n  console.log('Request from:', ctx.req.ip);\n\n  // In a real application, you would fetch this from a database\n  const allPhones = [\n    { name: 'iPhone 13', brand: 'Apple' },\n    { name: 'Galaxy S22', brand: 'Samsung' },\n  ];\n\n  return allPhones.filter((phone) => phone.name.includes(name));\n});\n```\n\n### Server\n\n```typescript\n// server.ts\nimport express from 'express';\nimport { handle } from 'zero-com';\n// No manual imports needed — the plugin automatically registers all func() files\n// when it transforms any file that calls handle()\n\nconst app = express();\napp.use(express.json());\n\napp.post('/api', async (req, res) => {\n  const { funcId, params } = req.body;\n  try {\n    const result = await handle(funcId, { req, res }, params);\n    res.json(result);\n  } catch (error) {\n    res.status(500).json({ error: error.message });\n  }\n});\n\napp.listen(8000, () => {\n  console.log('Server running at http://localhost:8000/');\n});\n```\n\n### Webpack Configuration\n\n```javascript\n// webpack.config.js\nconst { ZeroComWebpackPlugin } = require('zero-com/webpack');\n\nmodule.exports = {\n  mode: 'development',\n  entry: './src/client/index.js',\n  output: {\n    filename: 'main.js',\n    path: __dirname + '/dist',\n  },\n  plugins: [\n    new ZeroComWebpackPlugin(),\n  ],\n};\n```\n\n### Rollup Configuration\n\n```javascript\n// rollup.config.js\nimport zeroComRollupPlugin from 'zero-com/rollup';\n\nexport default {\n  input: 'src/client/index.js',\n  output: {\n    file: 'dist/main.js',\n    format: 'cjs',\n  },\n  plugins: [\n    zeroComRollupPlugin(),\n  ],\n};\n```\n","readmeFilename":"README.md"}