npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

matchmaking-grpc-proto

v1.0.0

Published

gRPC Protocol Buffer definitions for matchmaking services

Downloads

5

Readme

matchmaking-grpc-proto

npm version License: MIT

A comprehensive collection of gRPC Protocol Buffer definitions for matchmaking services and related microservices.

📦 Installation

npm install matchmaking-grpc-proto

🚀 Usage

Basic Usage

const protoPaths = require('matchmaking-grpc-proto');

// Access specific proto files
const authProto = protoPaths.vfe.v1.auth;
const memberProto = protoPaths.vfe.v1.member;

// Get all proto files
const allProtoFiles = protoPaths.getAllProtoFiles();

With gRPC (Node.js)

const grpc = require('@grpc/grpc-js');
const protoLoader = require('@grpc/proto-loader');
const protoPaths = require('matchmaking-grpc-proto');

// Load auth service
const authPackageDefinition = protoLoader.loadSync(protoPaths.vfe.v1.auth, {
  keepCase: true,
  longs: String,
  enums: String,
  defaults: true,
  oneofs: true
});

const authProto = grpc.loadPackageDefinition(authPackageDefinition);
const authService = new authProto.auth.AuthService('localhost:50051', grpc.credentials.createInsecure());

With Protocol Buffers Compiler

# Generate Go code
protoc --go_out=. --go-grpc_out=. $(node -e "console.log(require('matchmaking-grpc-proto').vfe.v1.auth)")

# Generate TypeScript code
protoc --plugin=protoc-gen-ts_proto=./node_modules/.bin/protoc-gen-ts_proto \
       --ts_proto_out=. \
       $(node -e "console.log(require('matchmaking-grpc-proto').vfe.v1.auth)")

📁 Available Services

VFE (Virtual Frontend Experience)

  • v1
    • auth.proto - Authentication service (login, register, password management)
    • member.proto - Member management service
    • membership.proto - Membership service
  • v2
    • order.proto - Order management service
    • user.proto - User management service

Other Services

  • twoToTango/ - Two-to-tango service definitions
  • b2b2c/ - Business-to-business-to-consumer service definitions
  • astrology/ - Astrology service definitions
  • admin/ - Admin service definitions

🔧 Development

Prerequisites

  • Node.js >= 14.0.0
  • npm or yarn

Setup

npm install

Testing

npm test

Validation

npm run prepare

📦 Publishing

Manual Publishing

  1. Login to npm (if not already logged in):

    npm login
  2. Update version (if needed):

    npm version patch  # for bug fixes
    npm version minor  # for new features
    npm version major  # for breaking changes
  3. Publish the package:

    npm run publish-package

    Or manually:

    npm run prepare
    npm publish

Publishing Checklist

Before publishing, ensure:

  • [ ] All proto files are valid
  • [ ] Version number is updated
  • [ ] Package validation passes (npm run prepare)
  • [ ] You're logged into npm (npm whoami)

📋 Requirements

  • Protocol Buffers compiler (protoc)
  • gRPC plugins for your target language:
    • Go: protoc-gen-go, protoc-gen-go-grpc
    • TypeScript: protoc-gen-ts_proto
    • Python: grpcio-tools
    • Java: grpc-java

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🆘 Support