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

@ragnaraven/zitadel-node-dual

v1.3.0

Published

Library for API access to ZITADEL with modern ES import syntax. Works everywhere - NestJS, Node.js, any TypeScript environment. No more require()!

Readme

ZITADEL Node.js (Import Compatibility Fork)

Note: This is a fork of the original ZITADEL Node.js SDK that enables ES import syntax in environments that require it, including NestJS and other CommonJS-based applications.

This library contains the compiled and generated gRPC service clients for the ZITADEL API, packaged to work with import syntax in TypeScript environments.

Fork Features

  • ES Import Support: Use import statements in CommonJS environments like NestJS
  • Dual Package: Compatible with both CommonJS and ES Module environments
  • TypeScript Support: Full type definitions and IntelliSense
  • Drop-in Replacement: Same API as the original package

Usage

Installation

npm install @ragnaraven/zitadel-node-dual
# or
pnpm add @ragnaraven/zitadel-node-dual

Quick Start

See the /examples folder for complete usage examples:

Original Documentation

For complete documentation, API reference, and additional examples, please refer to the original ZITADEL Node.js SDK repository.

This fork maintains full compatibility with the original API while adding import syntax support for CommonJS environments.

Goals

This fork extends the original goals to include:

  • ✅ Support ES import syntax in CommonJS environments
  • ✅ Maintain compatibility across module systems

The original package completed these goals:

  • ✅ Provide compiled proto clients
  • ✅ Manage resources via proto clients
  • ✅ Allow authentication of a service account

Development

This fork follows the same development process as the original:

  1. Clone this repository
  2. Install the dependencies with npm install
  3. Install the submodules with git submodule update --init --recursive
  4. Generate the gRPC types with npm run build:grpc or npm run build:grpc:windows
  5. Build dual packages with npm run build:dual

Windows Development

If you're developing on Windows, use the Windows-specific build command:

npm run build:windows

This uses buf.gen.windows.yaml which includes the Windows-specific .cmd path for protoc-gen-ts_proto. The standard npm run build command may fail on Windows due to cross-platform path resolution issues with the buf generate process.

Windows Commands:

  • npm run build:windows - Full build with Windows-compatible gRPC generation
  • npm run build:grpc:windows - Just the gRPC generation step for Windows
  • npm run build:dual - Just the TypeScript compilation (works cross-platform)

The dual build process creates:

  • dist/cjs/ - CommonJS build
  • dist/esm/ - ES Module build
  • dist/types/ - TypeScript declarations

Testing

Run the test suite:

npm test

Tests cover client creation, API calls, and authentication flows across both CommonJS and ES Module environments.

Contributing

For issues specific to this fork, please open issues in this repository.

For general ZITADEL Node.js SDK issues, please refer to the original repository.