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

@twingate/pulumi-twingate

v4.1.0

Published

A Pulumi package for creating and managing Twingate cloud resources.

Readme

Twingate Resource Provider

The Twingate Resource Provider lets you manage Twingate resources.

Installing

This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

npm install @twingate/pulumi-twingate

or yarn:

yarn add @twingate/pulumi-twingate

Python

To use from Python, install using pip:

pip install pulumi-twingate

Go

To use from Go, use go get to grab the latest version of the library:

go get github.com/pulumi/pulumi-twingate/sdk/go/...

.NET

To use from .NET, install using dotnet add package:

dotnet add package Twingate.Twingate

Configuration

The following configuration points are available for the twingate provider:

  • twingate:apiToken - The access key for API operations. You can retrieve this from the Twingate Admin Console (documentation). Alternatively, this can be specified using the TWINGATE_API_TOKEN environment variable.
  • twingate:network - Your Twingate network ID for API operations. You can find it in the Admin Console URL, for example: autoco.twingate.com, where autoco is your network ID. Alternatively, this can be specified using the TWINGATE_NETWORK environment variable.
  • twingate:url - The default is 'twingate.com'. This is optional and shouldn't be changed under normal circumstances.

Reference

For detailed reference documentation, please visit the Pulumi registry.

Development

Building the Provider Locally

To build and test the provider from source:

Prerequisites

  • Go 1.24+: Required to build the provider
  • Node.js 22+: Required for the Node.js/TypeScript SDK
  • Pulumi CLI: Install from pulumi.com

Build Steps

  1. Build the provider and SDKs:

    # For full development build (all SDKs)
    make development
    
    # For just the provider and Node.js SDK
    make provider build_nodejs
  2. Install the local provider plugin:

    After building, you must install the locally built provider as a Pulumi plugin:

    pulumi plugin install resource twingate v4.1.0-alpha.1772811417+dirty \
      --file bin/pulumi-resource-twingate

    Note: The version string will match what's in your build (includes +dirty if you have uncommitted changes).

Common Errors

Error: "404 HTTP error fetching plugin"

If you see this error when running pulumi up or pulumi preview:

error: Could not automatically download and install resource plugin 'pulumi-resource-twingate'
at version v4.1.0-alpha.1772811417+dirty: 404 HTTP error fetching plugin from
https://api.github.com/repos/Twingate/pulumi-twingate/releases/tags/...

Solution: This happens because you're using a local development build. Install the plugin manually:

pulumi plugin install resource twingate v4.1.0-alpha.1772811417+dirty \
  --file bin/pulumi-resource-twingate

Replace the version string with whatever version your build generated (check the error message for the exact version).

Verify installation:

pulumi plugin ls | grep twingate

You should see your local version listed.

Testing GitHub Actions Workflows Locally

You can test GitHub Actions workflows locally using act.

Install act

On macOS with Homebrew:

brew install act

On Linux:

curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash

For other platforms, see the act installation guide.

Run workflows locally

To test a specific workflow job, use:

# List all available jobs
act --list

# Test the lint workflow
act pull_request -j lint

Note: The first time you run act, it will ask you to choose a Docker image size. Select "Medium" for most workflows.