{"_id":"nice-grpc-common","_rev":"3816589","name":"nice-grpc-common","description":"Common stuff for nice-grpc and nice-grpc-web","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"aikoven","email":""}],"time":{"modified":"2025-06-05T11:30:42.000Z","created":"2021-06-29T04:25:41.602Z","2.0.2":"2023-03-31T21:29:03.614Z","2.0.1":"2023-01-18T05:48:59.682Z","2.0.0":"2022-08-11T10:14:37.616Z","1.1.0":"2022-04-18T03:15:02.000Z","1.0.6":"2022-03-09T04:12:34.530Z","1.0.5":"2022-03-05T11:17:37.226Z","1.0.4":"2022-01-16T04:01:47.539Z","1.0.3":"2021-09-21T06:54:00.423Z","1.0.2":"2021-06-30T07:10:35.865Z","1.0.1":"2021-06-29T04:49:25.340Z","1.0.0":"2021-06-29T04:25:41.602Z"},"users":{},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"versions":{"2.0.2":{"name":"nice-grpc-common","version":"2.0.2","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"ts-error":"^1.0.6"},"gitHead":"a2987f236be78513ea607faf691c9471d640bd0e","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@2.0.2","_nodeVersion":"18.15.0","_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (darwin)","dist":{"shasum":"e6aeebb2bd19d87114b351e291e30d79dd38acf7","size":15333,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-2.0.2.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_2.0.2_1680298143441_0.18157788821920184"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-31T21:29:03.614Z","publish_time":1680298143614,"_cnpm_publish_time":1680298143614},"2.0.1":{"name":"nice-grpc-common","version":"2.0.1","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"ts-error":"^1.0.6"},"gitHead":"090b1090ea4ac6859d7f240386fdac48415c1969","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@2.0.1","_nodeVersion":"18.12.1","_npmVersion":"lerna/6.3.0/node@v18.12.1+x64 (darwin)","dist":{"shasum":"2291d3d9c321eb9829a48d6e1c061b29363bc283","size":14974,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-2.0.1.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_2.0.1_1674020939471_0.5731790256752718"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-18T05:48:59.682Z","publish_time":1674020939682,"_cnpm_publish_time":1674020939682},"2.0.0":{"name":"nice-grpc-common","version":"2.0.0","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"ts-error":"^1.0.6"},"gitHead":"0174f605350065a6d9f89df38c6694ba75b891ac","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@2.0.0","_nodeVersion":"16.14.2","_npmVersion":"lerna/4.0.0/node@v16.14.2+x64 (darwin)","dist":{"shasum":"36c9b9cdc38d3b4aa8ad7abf120fd4737eff70ea","size":14998,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-2.0.0.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_2.0.0_1660212877418_0.29709601608599034"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-11T10:44:15.297Z","publish_time":1660212877616,"_cnpm_publish_time":1660212877616},"1.1.0":{"name":"nice-grpc-common","version":"1.1.0","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"node-abort-controller":"^2.0.0","ts-error":"^1.0.6"},"gitHead":"560ec0721e2a59cf3c3d6ffdfded79d31c464db1","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@1.1.0","_nodeVersion":"16.14.2","_npmVersion":"lerna/4.0.0/node@v16.14.2+x64 (darwin)","dist":{"shasum":"cebfd36f840c08f253ddf6de6ed4389fa5cdb05b","size":15029,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-1.1.0.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_1.1.0_1650251701700_0.002047322945555541"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-18T03:15:08.305Z","publish_time":1650251702000,"_cnpm_publish_time":1650251702000},"1.0.6":{"name":"nice-grpc-common","version":"1.0.6","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"node-abort-controller":"^2.0.0","ts-error":"^1.0.6"},"gitHead":"3c1c4e803cd73e6b5feddf50d64710256d1a12db","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@1.0.6","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"shasum":"63c54696730dd73f79c761d0bba671a326d1a0ca","size":14807,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-1.0.6.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_1.0.6_1646799154287_0.5914550013857622"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-09T04:12:46.130Z","publish_time":1646799154530,"_cnpm_publish_time":1646799154530},"1.0.5":{"name":"nice-grpc-common","version":"1.0.5","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"node-abort-controller":"^2.0.0","ts-error":"^1.0.6"},"gitHead":"12db5997fa193e32536f8843abacc3182ee90aef","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@1.0.5","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"shasum":"ac1ce269cc344898bb4e3c981b58b404ef837027","size":14771,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-1.0.5.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_1.0.5_1646479056860_0.9507530044531975"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-05T11:17:41.799Z","publish_time":1646479057226,"_cnpm_publish_time":1646479057226},"1.0.4":{"name":"nice-grpc-common","version":"1.0.4","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"node-abort-controller":"^2.0.0"},"gitHead":"5d08d062313f513648d2632af85d77607513637c","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@1.0.4","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"shasum":"60b708d5f57d42fe810bb967fdef1c50565f2e4e","size":14813,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-1.0.4.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_1.0.4_1642305707380_0.6403681371747476"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-16T04:01:56.216Z","publish_time":1642305707539,"_cnpm_publish_time":1642305707539},"1.0.3":{"name":"nice-grpc-common","version":"1.0.3","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"node-abort-controller":"^2.0.0"},"gitHead":"44e6462e3fd71bfbf2aa6a8717575f406baa75c2","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@1.0.3","_nodeVersion":"16.6.1","_npmVersion":"lerna/4.0.0/node@v16.6.1+x64 (darwin)","dist":{"shasum":"8e26ec16eb3c57fedc2496956b55f455d305e6b4","size":14773,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-1.0.3.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_1.0.3_1632207240241_0.2879333754488256"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:30:09.224Z","publish_time":1632207240423,"_cnpm_publish_time":1632207240423},"1.0.2":{"name":"nice-grpc-common","version":"1.0.2","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"node-abort-controller":"^2.0.0"},"gitHead":"cdbbac0eb25c182e1af7fdb65bd8db7e37b3343a","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@1.0.2","_nodeVersion":"15.8.0","_npmVersion":"lerna/4.0.0/node@v15.8.0+x64 (darwin)","dist":{"shasum":"89c0060433c762f8e3f3517c1147fc0ca689f0b4","size":14553,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-1.0.2.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_1.0.2_1625037035663_0.37122454704467267"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:30:08.146Z","publish_time":1625037035865,"_cnpm_publish_time":1625037035865},"1.0.1":{"name":"nice-grpc-common","version":"1.0.1","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"node-abort-controller":"^2.0.0"},"gitHead":"c82b2964c890dbf38654b908664a7b55535b5fba","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@1.0.1","_nodeVersion":"15.8.0","_npmVersion":"lerna/4.0.0/node@v15.8.0+x64 (darwin)","dist":{"shasum":"2d56059873f8356b43b60f05a85390b92f5d2770","size":14525,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-1.0.1.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_1.0.1_1624942165142_0.8550662289592008"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:30:07.037Z","publish_time":1624942165340,"_cnpm_publish_time":1624942165340},"1.0.0":{"name":"nice-grpc-common","version":"1.0.0","description":"Common stuff for nice-grpc and nice-grpc-web","repository":{"type":"git","url":"git+https://github.com/deeplay-io/nice-grpc.git"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib","test":"jest","build":"tsc -P tsconfig.build.json","prepublishOnly":"npm run clean && npm run build && npm test"},"author":{"name":"Daniel Lytkin","email":"aikoven@deeplay.io"},"license":"MIT","devDependencies":{"@tsconfig/recommended":"^1.0.1"},"dependencies":{"node-abort-controller":"^2.0.0"},"gitHead":"c064bde8b718844e1e986ee6e5df450de590b7da","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","_id":"nice-grpc-common@1.0.0","_nodeVersion":"15.8.0","_npmVersion":"lerna/4.0.0/node@v15.8.0+x64 (darwin)","dist":{"shasum":"c70d640082d95252a622a6305828d4161708f8d5","size":14452,"noattachment":false,"key":"/nice-grpc-common/-/nice-grpc-common-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nice-grpc-common/download/nice-grpc-common-1.0.0.tgz"},"_npmUser":{"name":"aikoven","email":"dan.lytkin@gmail.com"},"directories":{},"maintainers":[{"name":"aikoven","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nice-grpc-common_1.0.0_1624940741477_0.41740037469784474"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:30:05.927Z","publish_time":1624940741602,"_cnpm_publish_time":1624940741602}},"readme":"# nice-grpc-common [![npm version][npm-image]][npm-url]\n\nCommon data structures and types for\n[`nice-grpc`](https://github.com/deeplay-io/nice-grpc) and `nice-grpc-web`.\n\nIf you are making a middleware library, consider depending on\n`nice-grpc-common`, as it is considered more stable in terms of semver. Also,\nthis allows you to build an isomorphic client middleware (working on both\nNode.js and the Browser).\n\nFor application code, use `nice-grpc` or `nice-grpc-web` directly. Both\nre-export names from `nice-grpc-common`.\n\n## Installation\n\n```\nnpm install nice-grpc-common\n```\n\n## Contents\n\n- [`Metadata`](src/Metadata.ts) — represents\n  [gRPC Metadata](https://grpc.io/docs/what-is-grpc/core-concepts/#metadata).\n- [`Status`](src/Status.ts) — enum with\n  [gRPC status codes](https://grpc.github.io/grpc/core/md_doc_statuscodes.html).\n- [`CallContext`](src/server/CallContext.ts) — call context passed to server\n  methods.\n- [`ServerError`](src/server/ServerError.ts).\n- [`ServerMiddleware`](src/server/ServerMiddleware.ts).\n- [`composeServerMiddleware`](src/server/composeServerMiddleware.ts).\n- [`CallOptions`](src/client/CallOptions.ts) — call options accepted by client\n  methods.\n- [`ClientError`](src/client/ClientError.ts).\n- [`ClientMiddleware`](src/client/ClientMiddleware.ts).\n- [`composeClientMiddleware`](src/client/composeClientMiddleware.ts).\n\n[npm-image]: https://badge.fury.io/js/nice-grpc-common.svg\n[npm-url]: https://badge.fury.io/js/nice-grpc-common\n","_attachments":{},"homepage":"https://github.com/deeplay-io/nice-grpc#readme","bugs":{"url":"https://github.com/deeplay-io/nice-grpc/issues"},"license":"MIT"}