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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nu-sync/temporal-protobuf-es

v0.0.1

Published

Community-maintained Temporal TypeScript payload converters for protobuf-es messages.

Readme

temporal-protobuf-es

Community-maintained Temporal TypeScript payload converters for protobuf-es messages.

Usage

import { createProtobufEsPayloadConverter } from "@nu-sync/temporal-protobuf-es";
import {
  StartOrderRequestSchema,
  StartOrderResultSchema,
} from "./gen/messages_pb";

export const payloadConverter = createProtobufEsPayloadConverter({
  schemas: [StartOrderRequestSchema, StartOrderResultSchema],
  encoding: "binary",
});

The helper defaults to binary protobuf encoding for cross-language Temporal payload compatibility. Use encoding: "json" or createJsonProtobufEsPayloadConverter(...) for TypeScript-only applications that prefer proto3 JSON payloads. The package also keeps make* helper aliases for callers that prefer that naming style.

payloadConverterPath modules must export a named payloadConverter, as shown above. The package ships both ESM and CommonJS entrypoints so Temporal's synchronous require(...) loader can load app-local converter modules.

Validation

just test-unit
just test-e2e
just test-e2e-npm
just test-e2e-sdk-loader
just test-e2e-deno
just test-e2e-rust
just test-e2e-temporal-worker
just verify

The e2e suite installs the packed npm tarball into temporary fixture apps, checks Node ESM/CommonJS loading, verifies Temporal SDK loadDataConverter behavior for payloadConverterPath, runs a Deno npm-import round trip, and verifies Rust binary wire-format compatibility without external services.

just test-e2e-temporal-worker is an opt-in prototype that starts a local Temporal dev server through the Temporal CLI, then runs a real @temporalio/client and @temporalio/worker with dataConverter.payloadConverterPath.

Release

The official npm publish path is GitHub Actions. Create and publish a GitHub release whose tag matches package.json, such as v0.0.1; .github/workflows/publish.yml installs Node and Deno, runs npm run release-check, uploads the validated tarball, and publishes @nu-sync/temporal-protobuf-es to npm from that tarball.

For the first publish, use a temporary npm automation token stored as the repository secret NPM_TOKEN; the workflow publishes with npm publish --access public --provenance. After the package exists on npm, configure npm trusted publishing for GitHub Actions with:

  • Package: @nu-sync/temporal-protobuf-es
  • Organization or user: nu-sync
  • Repository: temporal-protobuf-es
  • Workflow filename: publish.yml

Then remove NPM_TOKEN. Future releases publish through OIDC trusted publishing without a long-lived npm token, and npm generates provenance automatically.

If the GitHub release workflow fails before publishing to npm, fix the workflow, ensure the release tag points at the corrected commit, and manually dispatch publish.yml with the same tag.