{"id":13724951,"url":"https://github.com/redhoyasa/grpc-reflection-js","last_synced_at":"2026-03-04T14:02:23.125Z","repository":{"id":38772295,"uuid":"270883321","full_name":"redhoyasa/grpc-reflection-js","owner":"redhoyasa","description":"gRPC Reflection client for JS","archived":false,"fork":false,"pushed_at":"2024-08-03T19:46:00.000Z","size":1538,"stargazers_count":20,"open_issues_count":17,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T13:12:31.598Z","etag":null,"topics":["grpc","javascript","node","protobuf"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhoyasa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-09T02:24:18.000Z","updated_at":"2024-04-17T08:48:03.000Z","dependencies_parsed_at":"2024-06-18T15:37:13.133Z","dependency_job_id":"451fcb15-ad45-4eb1-afb0-15e99a568da7","html_url":"https://github.com/redhoyasa/grpc-reflection-js","commit_stats":{"total_commits":68,"total_committers":4,"mean_commits":17.0,"dds":"0.20588235294117652","last_synced_commit":"92c50169badd4a61f8d28950d5fae04142968f0b"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhoyasa%2Fgrpc-reflection-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhoyasa%2Fgrpc-reflection-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhoyasa%2Fgrpc-reflection-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhoyasa%2Fgrpc-reflection-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhoyasa","download_url":"https://codeload.github.com/redhoyasa/grpc-reflection-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066183,"owners_count":20392406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grpc","javascript","node","protobuf"],"created_at":"2024-08-03T01:02:07.748Z","updated_at":"2026-03-04T14:02:23.072Z","avatar_url":"https://github.com/redhoyasa.png","language":"JavaScript","funding_links":[],"categories":["Language-Specific","JavaScript"],"sub_categories":["Node.js"],"readme":"# gRPC Reflection JS\n[![npm version](https://badge.fury.io/js/grpc-reflection-js.svg)](https://badge.fury.io/js/grpc-reflection-js)\n![CI](https://github.com/redhoyasa/grpc-reflection-js/workflows/CI/badge.svg)\n[![codecov](https://codecov.io/gh/redhoyasa/grpc-reflection-js/branch/master/graph/badge.svg)](https://codecov.io/gh/redhoyasa/grpc-reflection-js)\n\nA JS library for talking with any gRPC Server that implements [Reflection](https://github.com/grpc/grpc/blob/master/doc/server-reflection.md) protocol.\n\n## Installation\n\nInstall with npm:\n```sh\nnpm install grpc-reflection-js @grpc/grpc-js\n```\n\nInstall with yarn:\n```sh\nyarn add grpc-reflection-js @grpc/grpc-js\n```\n\n## Usage\n- [Initialize client](#Initialize)\n- [listServices](#listServices): List gRPC services\n- [fileContainingSymbol](#fileContainingSymbol): Get protobuf Root using fully-qualified symbol name\n- [fileByFilename](#fileByFilename): Get protobuf Root using proto file name\n\n\n### Initialize\n```js\nconst grpc = require('grpc');\nconst grpcReflection = require('grpc-reflection-js');\n\nconst grpcReflectionServer = '\u003cgRPC Reflection server host\u003e'\nconst reflectionClient = new grpcReflection.Client(\n  grpcReflectionServer,\n  grpc.credentials.createInsecure()\n);\n```\n\n### listServices\n```js\nconst services = await reflectionClient.listServices()\n```\nOutput\n```text\n['grpc.reflection.v1alpha.ServerReflection', 'phone.Messenger']\n```\n\n### fileContainingSymbol\n```js\nconst root = await reflectionClient.fileContainingSymbol('phone.Messenger')\n```\n\n### fileByFilename\n```js\nconst root = await reflectionClient.fileContainingSymbol('contact.proto')\n```\n\n## License\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollostack/apollo-ios/master/LICENSE)\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhoyasa%2Fgrpc-reflection-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhoyasa%2Fgrpc-reflection-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhoyasa%2Fgrpc-reflection-js/lists"}