{"_id":"birpc","_rev":"296115","name":"birpc","description":"Message based Two-way remote procedure call","dist-tags":{"latest":"0.2.14"},"maintainers":[{"name":"antfu","email":""}],"time":{"modified":"2023-10-17T01:00:59.000Z","created":"2021-12-26T07:01:34.105Z","0.2.14":"2023-09-04T08:35:09.951Z","0.2.13":"2023-08-21T08:13:53.164Z","0.2.12":"2023-05-29T07:03:56.365Z","0.2.11":"2023-04-06T07:34:19.396Z","0.2.10":"2023-03-16T08:47:37.976Z","0.2.9":"2023-03-16T08:31:05.446Z","0.2.8":"2023-03-15T09:46:54.273Z","0.2.7":"2023-03-13T16:59:53.627Z","0.2.6":"2023-03-10T09:35:18.315Z","0.2.5":"2023-02-27T16:28:42.940Z","0.2.4":"2023-02-18T09:56:41.485Z","0.2.3":"2022-05-16T06:57:15.559Z","0.2.2":"2022-03-26T18:47:30.926Z","0.2.1":"2022-03-26T18:38:19.208Z","0.2.0":"2022-03-26T17:44:12.327Z","0.1.1":"2022-03-26T14:56:17.441Z","0.1.0":"2022-01-10T18:45:49.170Z","0.0.2":"2021-12-26T13:59:54.295Z","0.0.1":"2021-12-26T13:45:01.925Z","0.0.0":"2021-12-26T07:01:34.105Z"},"users":{},"author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"versions":{"0.2.14":{"name":"birpc","version":"0.2.14","packageManager":"pnpm@8.7.1","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.41.0","@antfu/ni":"^0.21.8","@types/node":"^20.5.9","bumpp":"^9.2.0","eslint":"^8.48.0","esno":"^0.17.0","typescript":"^5.2.2","unbuild":"^2.0.0","vite":"^4.4.9","vitest":"^0.34.3"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.14","_integrity":"sha512-37FHE8rqsYM5JEKCnXFyHpBCzvgHEExwVVTq+nUmloInU7l8ezD1TpOhKpS8oe1DTYFqEK27rFZVKG43oTqXRA==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/77d8e9267ea78e2f71273c9107ed4341/birpc-0.2.14.tgz","_from":"file:birpc-0.2.14.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"shasum":"4a5498771e6ff24cf8ae5f47faf90e76ca2fce03","size":5229,"noattachment":false,"key":"/birpc/-/birpc-0.2.14.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.14.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.14_1693816509735_0.9071480030587058"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-04T08:35:09.951Z","publish_time":1693816509951,"_source_registry_name":"default","_cnpm_publish_time":1693816509951},"0.2.13":{"name":"birpc","version":"0.2.13","packageManager":"pnpm@8.6.12","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.40.2","@antfu/ni":"^0.21.5","@types/node":"^20.5.1","bumpp":"^9.2.0","eslint":"^8.47.0","esno":"^0.17.0","typescript":"^5.1.6","unbuild":"^1.2.1","vite":"^4.4.9","vitest":"^0.34.2"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.13","_integrity":"sha512-30rz9OBSJoGfiWox7dpyqoSVo6664PBEYSTfmmG1GBridUxnMysyovNpnwhaPMvjtKn3Y1UfII+HMTU0kqJFjA==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/96d2dc0baa71b54c3e2732eb382eec47/birpc-0.2.13.tgz","_from":"file:birpc-0.2.13.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"shasum":"9cb90b011be7c9d73a7a0e58ad58427a0609d9d6","size":5100,"noattachment":false,"key":"/birpc/-/birpc-0.2.13.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.13.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.13_1692605632965_0.7902732886503749"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-21T08:13:53.164Z","publish_time":1692605633164,"_source_registry_name":"default","_cnpm_publish_time":1692605633164},"0.2.12":{"name":"birpc","version":"0.2.12","packageManager":"pnpm@8.1.1","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.38.4","@antfu/ni":"^0.21.2","@types/node":"^18.15.11","bumpp":"^9.1.0","eslint":"^8.37.0","esno":"^0.16.3","typescript":"^5.0.3","unbuild":"^1.2.0","vite":"^4.2.1","vitest":"^0.29.8"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.12","_integrity":"sha512-6Wz9FXuJ/FE4gDH+IGQhrYdalAvAQU1Yrtcu1UlMk3+9mMXxIRXiL+MxUcGokso42s+Fy+YoUXGLOdOs0siV3A==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/b189a364b50a521223c321b306eee3dc/birpc-0.2.12.tgz","_from":"file:birpc-0.2.12.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"5b0e2a154e0a000f8696b1ccef0a16b8639896aa","size":5023,"noattachment":false,"key":"/birpc/-/birpc-0.2.12.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.12.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.12_1685343836185_0.1545878389166675"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-29T07:03:56.365Z","publish_time":1685343836365,"_source_registry_name":"default","_cnpm_publish_time":1685343836365},"0.2.11":{"name":"birpc","version":"0.2.11","packageManager":"pnpm@8.1.1","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.38.4","@antfu/ni":"^0.21.2","@types/node":"^18.15.11","bumpp":"^9.1.0","eslint":"^8.37.0","esno":"^0.16.3","typescript":"^5.0.3","unbuild":"^1.2.0","vite":"^4.2.1","vitest":"^0.29.8"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.11","_integrity":"sha512-OcUm84SBHRsmvSQhOLZRt5Awmw8WVknVcMDMaPE8GPwYxzc4mGE0EIytkWXayPjheGvm7s/Ci1wQZGwk7YPU6A==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/23cbe02362053ed1280997d6a357fb85/birpc-0.2.11.tgz","_from":"file:birpc-0.2.11.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"fcf5cc60dd5ba69bf640a40373437fe358e16c4f","size":5004,"noattachment":false,"key":"/birpc/-/birpc-0.2.11.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.11.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.11_1680766459213_0.9451436948794816"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-06T07:34:19.396Z","publish_time":1680766459396,"_cnpm_publish_time":1680766459396},"0.2.10":{"name":"birpc","version":"0.2.10","packageManager":"pnpm@7.29.3","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.36.0","@antfu/ni":"^0.20.0","@types/node":"^18.15.3","bumpp":"^9.0.0","eslint":"^8.36.0","esno":"^0.16.3","typescript":"^4.9.5","unbuild":"^1.1.2","vite":"^4.1.4","vitest":"^0.29.3"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.10","_integrity":"sha512-dECjfiLLuCWAlatyFOOCqjXsAbZl9A10Ix0TZh7FFs0Ho6b4zhumEtsXtADH2dMTWfJi320WdWjt3UAwEx0NFw==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/69feef801b302ada7159bfbba35cae20/birpc-0.2.10.tgz","_from":"file:birpc-0.2.10.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"78f314564fbec447539496d8a84a6cb3d3ff1f65","size":4974,"noattachment":false,"key":"/birpc/-/birpc-0.2.10.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.10.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.10_1678956457852_0.5891037039771092"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-16T08:47:37.976Z","publish_time":1678956457976,"_cnpm_publish_time":1678956457976},"0.2.9":{"name":"birpc","version":"0.2.9","packageManager":"pnpm@7.29.3","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.36.0","@antfu/ni":"^0.20.0","@types/node":"^18.15.3","bumpp":"^9.0.0","eslint":"^8.36.0","esno":"^0.16.3","typescript":"^4.9.5","unbuild":"^1.1.2","vite":"^4.1.4","vitest":"^0.29.3"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.9","_integrity":"sha512-5OLkfGwXKsfmrvloCtMgtCji00jQ5Iqxq9n7do6oWNe0KGq91dkARyvYFDpy0Gavn87uH9dfCLc//nqveTbQ7Q==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/45b9aeb7d6c48b1642bbf27f96309b06/birpc-0.2.9.tgz","_from":"file:birpc-0.2.9.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"6a7d08d9c835e3cd5013c6db05cc4c941e2ab387","size":4976,"noattachment":false,"key":"/birpc/-/birpc-0.2.9.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.9.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.9_1678955465323_0.12586100617337181"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-16T08:31:05.446Z","publish_time":1678955465446,"_cnpm_publish_time":1678955465446},"0.2.8":{"name":"birpc","version":"0.2.8","packageManager":"pnpm@7.29.1","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.36.0","@antfu/ni":"^0.20.0","@types/node":"^18.15.0","bumpp":"^9.0.0","eslint":"^8.35.0","esno":"^0.16.3","typescript":"^4.9.5","unbuild":"^1.1.2","vite":"^4.1.4","vitest":"^0.29.2"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.8","_integrity":"sha512-ag5M7Ikcnru1XPJy46FdsSmtNzAzeVTcQ5b8ANAG7lBUbY5Ua5RTLnFw6V5ZQ+DToLpgp5LVuA0B2vPwGJ8VMw==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/59db280d30626b1d25e01942769fb24b/birpc-0.2.8.tgz","_from":"file:birpc-0.2.8.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"bb7eeebddf8414452d0f13922be3cf3e41c2a111","size":4919,"noattachment":false,"key":"/birpc/-/birpc-0.2.8.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.8.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.8_1678873614106_0.3716421384964663"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-15T09:46:54.273Z","publish_time":1678873614273,"_cnpm_publish_time":1678873614273},"0.2.7":{"name":"birpc","version":"0.2.7","packageManager":"pnpm@7.29.1","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.36.0","@antfu/ni":"^0.20.0","@types/node":"^18.15.0","bumpp":"^9.0.0","eslint":"^8.35.0","esno":"^0.16.3","typescript":"^4.9.5","unbuild":"^1.1.2","vite":"^4.1.4","vitest":"^0.29.2"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.7","_integrity":"sha512-SXurFWfmrrgflAjYS/hSnP03PVerQ2X7f/RTsinVfP/AyC9o6UPG0s/R4J9Dhc4nQwtXuX7Y9jynaruXOUs/Sw==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/b22207f698a3c95ef78d15c2664441fd/birpc-0.2.7.tgz","_from":"file:birpc-0.2.7.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"c9429101d866178ded9b0df85c2c189171bdf919","size":4905,"noattachment":false,"key":"/birpc/-/birpc-0.2.7.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.7.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.7_1678726793454_0.45323406465366745"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-13T16:59:53.627Z","publish_time":1678726793627,"_cnpm_publish_time":1678726793627},"0.2.6":{"name":"birpc","version":"0.2.6","packageManager":"pnpm@7.29.1","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.36.0","@antfu/ni":"^0.20.0","@types/node":"^18.15.0","bumpp":"^9.0.0","eslint":"^8.35.0","esno":"^0.16.3","typescript":"^4.9.5","unbuild":"^1.1.2","vite":"^4.1.4","vitest":"^0.29.2"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.6","_integrity":"sha512-32e/moNnMSJod6M4TBbfFtbqRTBx5zgluPMT5Gb25A/+q4nVKrwk2x/E+ZpxwoSYsCy1zTZIhoXQIV77h3tzPQ==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/404725eb1f007635338182685da4c068/birpc-0.2.6.tgz","_from":"file:birpc-0.2.6.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"b0b81b0e5b9d059af3fcf7a35e20219a46c129fe","size":4776,"noattachment":false,"key":"/birpc/-/birpc-0.2.6.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.6.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.6_1678440918147_0.1888141170800386"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-10T09:35:18.315Z","publish_time":1678440918315,"_cnpm_publish_time":1678440918315},"0.2.5":{"name":"birpc","version":"0.2.5","packageManager":"pnpm@7.13.0","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.35.3","@antfu/ni":"^0.20.0","@types/node":"^18.14.2","bumpp":"^9.0.0","eslint":"^8.35.0","esno":"^0.16.3","typescript":"^4.9.5","unbuild":"^1.1.2","vite":"^4.1.4","vitest":"^0.29.1"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.5","_integrity":"sha512-ZgH652QsdJ23cTZvw/QZ37Aob70HcTOwouIlcWM5jFuupIBLWjbJ3ZnjrJZ1aiYmVGQ1mGbOR220afCDRIYzcg==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/4447b852dddaee050a948cf3be061dad/birpc-0.2.5.tgz","_from":"file:birpc-0.2.5.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"6ab5d6e9e6fa064298401de5b27c8191e1c15612","size":4696,"noattachment":false,"key":"/birpc/-/birpc-0.2.5.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.5.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.5_1677515322740_0.8934407730615557"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-27T16:28:42.940Z","publish_time":1677515322940,"_cnpm_publish_time":1677515322940},"0.2.4":{"name":"birpc","version":"0.2.4","packageManager":"pnpm@7.13.0","description":"Message based Two-way remote procedure call","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/antfu/birpc#readme","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"bugs":{"url":"https://github.com/antfu/birpc/issues"},"keywords":["rpc","messages"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.35.2","@antfu/ni":"^0.20.0","@types/node":"^18.14.0","bumpp":"^8.2.1","eslint":"^8.34.0","esno":"^0.16.3","typescript":"^4.9.5","unbuild":"^1.1.2","vite":"^4.1.2","vitest":"^0.28.5"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.4","_integrity":"sha512-VF3dY67SkOhRe/CVaat675fnDxEh9IiqE7xBZKSTwJtdKQ5ldaI7k6ksqEeY4lBPfPzIE2w8C1zP4LvaMqIigw==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/fdcbb43a298f80a65bf1c44607ea4276/birpc-0.2.4.tgz","_from":"file:birpc-0.2.4.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"ef3cd713b4d6cc50d142342b329206c3980802a0","size":4604,"noattachment":false,"key":"/birpc/-/birpc-0.2.4.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.4.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.4_1676714201296_0.9455895114175386"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-18T09:56:41.485Z","publish_time":1676714201485,"_cnpm_publish_time":1676714201485},"0.2.3":{"name":"birpc","version":"0.2.3","packageManager":"pnpm@7.1.0","description":"Message based Two-way remote procedure call","keywords":["rpc","messages"],"homepage":"https://github.com/antfu/birpc#readme","bugs":{"url":"https://github.com/antfu/birpc/issues"},"license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"funding":"https://github.com/sponsors/antfu","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"sideEffects":false,"devDependencies":{"@antfu/eslint-config":"^0.23.1","@antfu/ni":"^0.16.2","@types/node":"^17.0.33","bumpp":"^7.1.1","eslint":"^8.15.0","esno":"^0.15.0","typescript":"^4.6.4","unbuild":"^0.7.4","vite":"^2.9.9","vitest":"^0.12.6"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp --commit --push --tag && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.3","_integrity":"sha512-mG7m06C2JkfuHSaLRHhtHtMEvyT1P1nUyyuk5W/7LMT2p7YYX/tfzJzD2ynZZHem3JTi6yJve0nHPdrs/gpXYg==","_resolved":"/private/var/folders/30/nymxcyb909ggq2j5lwn7b_600000gn/T/f94c4ecc70c3103da17cfcbc62ce5d99/birpc-0.2.3.tgz","_from":"file:birpc-0.2.3.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.8.0","dist":{"shasum":"19f7532602a2070074d123502d1ad4ba747c7bf4","size":3813,"noattachment":false,"key":"/birpc/-/birpc-0.2.3.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.3.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.3_1652684235444_0.5488238542628237"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-16T14:47:15.696Z","publish_time":1652684235559,"_cnpm_publish_time":1652684235559},"0.2.2":{"name":"birpc","version":"0.2.2","description":"Message based Two-way remote procedure call","keywords":["rpc","messages"],"homepage":"https://github.com/antfu/birpc#readme","bugs":{"url":"https://github.com/antfu/birpc/issues"},"license":"MIT","author":"Anthony Fu <anthonyfu117@hotmail.com>","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"funding":{"url":"https://github.com/sponsors/antfu"},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"sideEffects":false,"devDependencies":{"@antfu/eslint-config":"^0.18.9","@antfu/ni":"^0.13.2","@types/node":"^17.0.23","bumpp":"^7.1.1","eslint":"^8.12.0","esno":"^0.14.1","typescript":"^4.6.3","unbuild":"^0.7.2","vite":"^2.8.6","vitest":"^0.7.11"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp --commit --push --tag && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.2","_integrity":"sha512-59Tc83t28ulRZpuPz4JO+ry1EhBsoy81etx1kboBSzkx7hGExqUzIYxwDLcj1Ou8f4P/ZNacqDaat1ubBUbInw==","_resolved":"/Users/antfu/i/birpc/birpc-0.2.2.tgz","_from":"file:birpc-0.2.2.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"7e033234e946e2772fa01dfb897f31dd69184acd","size":3854,"noattachment":false,"key":"/birpc/-/birpc-0.2.2.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.2.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.2_1648320450763_0.46583321977299774"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-26T18:47:33.377Z","publish_time":1648320450926,"_cnpm_publish_time":1648320450926},"0.2.1":{"name":"birpc","version":"0.2.1","description":"Message based Two-way remote procedure call","keywords":["rpc","messages"],"homepage":"https://github.com/antfu/birpc#readme","bugs":{"url":"https://github.com/antfu/birpc/issues"},"license":"MIT","author":"Anthony Fu <anthonyfu117@hotmail.com>","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"funding":{"url":"https://github.com/sponsors/antfu"},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"sideEffects":false,"devDependencies":{"@antfu/eslint-config":"^0.18.9","@antfu/ni":"^0.13.2","@types/node":"^17.0.23","bumpp":"^7.1.1","eslint":"^8.12.0","esno":"^0.14.1","typescript":"^4.6.3","unbuild":"^0.7.2","vite":"^2.8.6","vitest":"^0.7.11"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp --commit --push --tag && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.1","_integrity":"sha512-aH2AwQcsVtEJX76ensLeZwqiUYwv93zfZ6TG+TlyGRSsn4lCihOLPo1//oumH6sboF6scFX/h/3GuCPEG/UMLw==","_resolved":"/Users/antfu/i/birpc/birpc-0.2.1.tgz","_from":"file:birpc-0.2.1.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"17f70fc5495cdfe5a00e4cd4866788e21f776865","size":3850,"noattachment":false,"key":"/birpc/-/birpc-0.2.1.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.1.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.1_1648319899072_0.24921899189237928"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-26T18:38:22.502Z","publish_time":1648319899208,"_cnpm_publish_time":1648319899208},"0.2.0":{"name":"birpc","version":"0.2.0","description":"Message based Two-way remote procedure call","keywords":["rpc","messages"],"homepage":"https://github.com/antfu/birpc#readme","bugs":{"url":"https://github.com/antfu/birpc/issues"},"license":"MIT","author":"Anthony Fu <anthonyfu117@hotmail.com>","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"funding":{"url":"https://github.com/sponsors/antfu"},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"sideEffects":false,"devDependencies":{"@antfu/eslint-config":"^0.18.9","@antfu/ni":"^0.13.2","@types/node":"^17.0.23","bumpp":"^7.1.1","eslint":"^8.12.0","esno":"^0.14.1","typescript":"^4.6.3","unbuild":"^0.7.2","vite":"^2.8.6","vitest":"^0.7.11"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp --commit --push --tag && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.2.0","_integrity":"sha512-WiLAmOH1AYEVvlw++K21YLo19u0qFOvimfedGwouVy8oqzpCNslGTfKYRPEeKG6wBW3iwb6Hb1ZBRsz/sTdvYg==","_resolved":"/Users/antfu/i/birpc/birpc-0.2.0.tgz","_from":"file:birpc-0.2.0.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"cdc99a328752292aeecd8f2c1cff26cd9a9383a1","size":3789,"noattachment":false,"key":"/birpc/-/birpc-0.2.0.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.2.0.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.2.0_1648316652180_0.5591882735469536"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-26T17:44:15.270Z","publish_time":1648316652327,"_cnpm_publish_time":1648316652327},"0.1.1":{"name":"birpc","version":"0.1.1","description":"Message based Two-way remote procedure call","keywords":["rpc","messages"],"homepage":"https://github.com/antfu/birpc#readme","bugs":{"url":"https://github.com/antfu/birpc/issues"},"license":"MIT","author":"Anthony Fu <anthonyfu117@hotmail.com>","repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"funding":{"url":"https://github.com/sponsors/antfu"},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"sideEffects":false,"devDependencies":{"@antfu/eslint-config":"^0.18.9","@antfu/ni":"^0.13.2","@types/node":"^17.0.23","bumpp":"^7.1.1","eslint":"^8.12.0","esno":"^0.14.1","typescript":"^4.6.3","unbuild":"^0.7.2","vite":"^2.8.6","vitest":"^0.7.11"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp --commit --push --tag && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.1.1","_integrity":"sha512-B64AGL4ug2IS2jvV/zjTYDD1L+2gOJTT7Rv+VaK7KVQtQOo/xZbCDsh7g727ipckmU+QJYRqo5RcifVr0Kgcmg==","_resolved":"/Users/antfu/i/birpc/birpc-0.1.1.tgz","_from":"file:birpc-0.1.1.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"10b243ffe5a21ccaf4cbaf5a09a6f0cc035c4312","size":3146,"noattachment":false,"key":"/birpc/-/birpc-0.1.1.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.1.1.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.1.1_1648306577300_0.7688970210038331"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-26T14:56:22.570Z","publish_time":1648306577441,"_cnpm_publish_time":1648306577441},"0.1.0":{"name":"birpc","version":"0.1.0","description":"Message based Two-way remote procedure call","keywords":["rpc","messages"],"homepage":"https://github.com/antfu/birpc#readme","bugs":{"url":"https://github.com/antfu/birpc/issues"},"repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"funding":{"url":"https://github.com/sponsors/antfu"},"license":"MIT","author":"Anthony Fu <anthonyfu117@hotmail.com>","sideEffects":false,"exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.14.0","@antfu/ni":"^0.12.0","@types/node":"^17.0.0","bumpp":"^7.1.1","eslint":"^8.5.0","esno":"^0.13.0","typescript":"^4.5.4","unbuild":"^0.6.7","vitest":"^0.0.101","vite":"^2.7.3"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint --ext .js,.ts .","release":"bumpp --commit --push --tag && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.1.0","_integrity":"sha512-nQ5QDTH0JITjPxAdL1PRLp3f//1FOu5nHwYQYxxabE78Jp+V/mrskcWmHBhHCrKN+eErj3lVLKrv66tMGf5MSg==","_resolved":"/Users/antfu/i/birpc/birpc-0.1.0.tgz","_from":"file:birpc-0.1.0.tgz","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"0c4568ba2dc3a7d6ba7a1dd0811fbf92f76ee37b","size":3133,"noattachment":false,"key":"/birpc/-/birpc-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.1.0.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.1.0_1641840349031_0.9764086570599013"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-10T19:19:06.713Z","publish_time":1641840349170,"_cnpm_publish_time":1641840349170},"0.0.2":{"name":"birpc","version":"0.0.2","description":"Message based Two-way remote procedure call","keywords":["rpc","messages"],"homepage":"https://github.com/antfu/birpc#readme","bugs":{"url":"https://github.com/antfu/birpc/issues"},"repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"funding":{"url":"https://github.com/sponsors/antfu"},"license":"MIT","author":"Anthony Fu <anthonyfu117@hotmail.com>","sideEffects":false,"exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.14.0","@antfu/ni":"^0.12.0","@types/node":"^17.0.0","bumpp":"^7.1.1","eslint":"^8.5.0","esno":"^0.13.0","typescript":"^4.5.4","unbuild":"^0.6.7","vitest":"^0.0.101","vite":"^2.7.3"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint --ext .js,.ts .","release":"bumpp --commit --push --tag && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.0.2","_integrity":"sha512-D5D88rjfiXpaGJ9j0MWZrihp1NsBER1v5lyXp6/W23bQIvwWCH8z+Pk1XSnwkIqSnD4s2EjLJq5VmW5u6X9Cgg==","_resolved":"/Users/antfu/i/birpc/birpc-0.0.2.tgz","_from":"file:birpc-0.0.2.tgz","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"9eaae135769b44c74b0911da1de40078de20f981","size":2941,"noattachment":false,"key":"/birpc/-/birpc-0.0.2.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.0.2.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.0.2_1640527193960_0.9039054555612949"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T02:27:56.359Z","publish_time":1640527194295,"_cnpm_publish_time":1640527194295},"0.0.1":{"name":"birpc","version":"0.0.1","description":"Message based Two-way remote procedure call","keywords":["rpc","messages"],"homepage":"https://github.com/antfu/birpc#readme","bugs":{"url":"https://github.com/antfu/birpc/issues"},"repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"funding":{"url":"https://github.com/sponsors/antfu"},"license":"MIT","author":"Anthony Fu <anthonyfu117@hotmail.com>","sideEffects":false,"exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"^0.14.0","@antfu/ni":"^0.12.0","@types/node":"^17.0.0","bumpp":"^7.1.1","eslint":"^8.5.0","esno":"^0.13.0","typescript":"^4.5.4","unbuild":"^0.6.7","vitest":"^0.0.101","vite":"^2.7.3"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint --ext .js,.ts .","release":"bumpp --commit --push --tag && pnpm publish","start":"esno src/index.ts","test":"vitest"},"_id":"birpc@0.0.1","_integrity":"sha512-Bbevv2MXdyUkTKPUXbcTqLRfCG9Bvi9CjTJmJPCywlBuF//w9ZoQVAdzsFck9S1CzWYLU/3L9e6aeOFxP55mpw==","_resolved":"/Users/antfu/i/birpc/birpc-0.0.1.tgz","_from":"file:birpc-0.0.1.tgz","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"52f6e64a3d70a1dbbc0b9da9f122e7b5ca17eadb","size":2833,"noattachment":false,"key":"/birpc/-/birpc-0.0.1.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.0.1.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.0.1_1640526301537_0.441887807371125"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T02:27:56.261Z","publish_time":1640526301925,"_cnpm_publish_time":1640526301925},"0.0.0":{"name":"birpc","version":"0.0.0","description":"Message based Two-way remote procedure call","keywords":["rpc","messages"],"homepage":"https://github.com/antfu/birpc#readme","bugs":{"url":"https://github.com/antfu/birpc/issues"},"repository":{"type":"git","url":"git+https://github.com/antfu/birpc.git"},"funding":"https://github.com/sponsors/antfu","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"sideEffects":false,"exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint --ext .js,.ts .","prepublishOnly":"nr build","release":"bumpp --commit --push --tag && pnpm publish","start":"esno src/index.ts","test":"vitest"},"devDependencies":{"@antfu/eslint-config":"^0.14.0","@antfu/ni":"^0.12.0","@types/node":"^17.0.0","bumpp":"^7.1.1","eslint":"^8.5.0","esno":"^0.13.0","typescript":"^4.5.4","unbuild":"^0.6.7","vitest":"^0.0.101","vite":"^2.7.3"},"gitHead":"9707e71f395763b1f3d77287f1019715fa3a3189","_id":"birpc@0.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"ebea55e3d46d3172b8abc3386ee526c402cbb712","size":2778,"noattachment":false,"key":"/birpc/-/birpc-0.0.0.tgz","tarball":"http://name.csiicloud.com:7001/birpc/download/birpc-0.0.0.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/birpc_0.0.0_1640502093942_0.45173139983964394"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T02:27:56.172Z","publish_time":1640502094105,"_cnpm_publish_time":1640502094105}},"readme":"# birpc\n\n[![NPM version](https://img.shields.io/npm/v/birpc?color=a1b858&label=)](https://www.npmjs.com/package/birpc)\n\nMessage-based two-way remote procedure call. Useful for WebSockets and Workers communication.\n\n## Features\n\n- Intuitive - call remote functions just like locals, with Promise to get the response\n- TypeScript - safe function calls for arguments and returns\n- Protocol agonostic - WebSocket, MessageChannel, any protocols with messages communication would work!\n- Zero deps, ~0.5KB\n\n## Examples\n\n### Using WebSocket\n\nWhen using WebSocket, you need to pass your custom serializer and deserializer.\n\n#### Client\n\n```ts\nimport type { ServerFunctions } from './types'\n\nconst ws = new WebSocket('ws://url')\n\nconst clientFunctions: ClientFunctions = {\n  hey(name: string) {\n    return `Hey ${name} from client`\n  }\n}\n\nconst rpc = createBirpc<ServerFunctions>(\n  clientFunctions,\n  {\n    post: data => ws.send(data),\n    on: data => ws.on('message', data),\n    // these are required when using WebSocket\n    serialize: v => JSON.stringify(v),\n    deserialize: v => JSON.parse(v),\n  },\n)\n\nawait rpc.hi('Client') // Hi Client from server\n```\n\n#### Server\n\n```ts\nimport { WebSocketServer } from 'ws'\nimport type { ClientFunctions } from './types'\n\nconst serverFunctions: ServerFunctions = {\n  hi(name: string) {\n    return `Hi ${name} from server`\n  }\n}\n\nconst wss = new WebSocketServer()\n\nwss.on('connection', (ws) => {\n  const rpc = createBirpc<ClientFunctions>(\n    serverFunctions,\n    {\n      post: data => ws.send(data),\n      on: data => ws.on('message', data),\n      serialize: v => JSON.stringify(v),\n      deserialize: v => JSON.parse(v),\n    },\n  )\n\n  await rpc.hey('Server') // Hey Server from client\n})\n```\n\n### Circular References\n\nAs `JSON.stringify` does not supporting circular references, we recommend using [`flatted`](https://github.com/WebReflection/flatted) as the serializer when you expect to have circular references.\n\n```ts\nimport { parse, stringify } from 'flatted'\n\nconst rpc = createBirpc<ServerFunctions>(\n  functions,\n  {\n    post: data => ws.send(data),\n    on: data => ws.on('message', data),\n    // use flatted as serializer\n    serialize: v => stringify(v),\n    deserialize: v => parse(v),\n  },\n)\n```\n\n### Using MessageChannel\n\n[MessageChannel](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel) will automatically serialize the message and support circular references out-of-box.\n\n```ts\nexport const channel = new MessageChannel()\n```\n\n#### Bob\n\n``` ts\nimport type { AliceFunctions } from './types'\nimport { channel } from './channel'\n\nconst Bob: BobFunctions = {\n  hey(name: string) {\n    return `Hey ${name}, I am Bob`\n  }\n}\n\nconst rpc = createBirpc<AliceFunctions>(\n  Bob,\n  {\n    post: data => channel.port1.postMessage(data),\n    on: data => channel.port1.on('message', data),\n  },\n)\n\nawait rpc.hi('Alice') // Hi Bob, I am Alice\n```\n\n#### Alice\n\n``` ts\nimport type { BobFunctions } from './types'\nimport { channel } from './channel'\n\nconst Alice: AliceFunctions = {\n  hi(name: string) {\n    return `Hi ${name}, I am Alice`\n  }\n}\n\nconst rpc = createBirpc<BobFunctions>(\n  Alice,\n  {\n    post: data => channel.port2.postMessage(data),\n    on: data => channel.port2.on('message', data),\n  },\n)\n\nawait rpc.hey('Alice') // Hey Alice, I am Bob\n```\n\n### One-to-multiple Communication\n\nRefer to [./test/group.test.ts](./test/group.test.ts) as an example.\n\n## Sponsors\n\n<p align=\"center\">\n  <a href=\"https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg\">\n    <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/>\n  </a>\n</p>\n\n## License\n\n[MIT](./LICENSE) License © 2021 [Anthony Fu](https://github.com/antfu)\n","_attachments":{},"homepage":"https://github.com/antfu/birpc#readme","bugs":{"url":"https://github.com/antfu/birpc/issues"},"license":"MIT"}