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

togather-shared-protos

v1.0.0

Published

This repository contains the **common `.proto` definitions** used across all ToGather microservices.

Downloads

92

Readme

🧩 ToGather Shared Protos

This repository contains the common .proto definitions used across all ToGather microservices.

It serves as the single source of truth for shared gRPC and ConnectRPC message schemas, ensuring consistency and type safety between backend services and clients.

🚀 Overview

The ToGather Shared Protos package centralizes all protocol buffer (.proto) files.

Each microservice can import the generated TypeScript or python code directly from this package to avoid duplication and version drift.

📦 Usage

1. Install

pnpm add @togatherlabs/shared-protos

2. Import in your service

import { AdminService } from "@togatherlabs/shared-protos/togather-shared-protos/authservice/admin/v1";

🧠 Development Guide

1. Update proto definitions

Make your changes inside the appropriate proto/ folder (e.g., src/authservice/admin/v1/).

2. Generate TypeScript files

Run the generator to compile .proto files into TypeScript:

pnpm generate

This command runs scripts/generate_and_prepare.js, which regenerates and updates exports automatically.

3. Verify generated output

Check that new .ts and .js files were created correctly in the respective service folders under src/.

🧩 Common Guidelines

Always update .proto files before generating new code.

Use pnpm for all dependency management.

Do not manually modify generated files — regenerate instead.

Ensure consistent naming and versioning for services refer best practics

📝 Committing Changes

We use Commitizen to maintain clean and standardized commit messages.

To commit your changes:

pnpm commit

This will guide you through an interactive CLI to format your commit message properly (e.g., feat: add new admin proto definitions).

🚀 Publishing a New Version

After your changes are complete:

npm version patch

npm publish

Then update in dependent services:

pnpm update @togatherlabs/shared-protos/togather-shared-protos

🛠️ Stack Buf – Proto management and linting

ConnectRPC – RPC code generation

TypeScript – Generated bindings

pnpm – Package management

Commitizen – Commit message consistency

💡 Notes All services depending on this package should use the same >version to ensure consistent proto definitions.

Ensure your package.json exports are correctly updated to expose new services.

Made with ❤️ by the ToGather Team



Node.js Package

Current Status

currently the packge for node js is published under "@togatherlabs/shared-protos/togather-shared-protos""

pnpm i @togatherlabs/shared-protos/togather-shared-protos

This was for testing purpose and will be moved to company's name