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

@scalekit-sdk/dryrun

v1.1.0

Published

Test Scalekit authentication flows without writing code

Readme

scalekit-dryrun

Test your Scalekit authentication setup without writing a single line of code.

This CLI tool creates a complete PKCE-based OAuth flow, letting you verify your Scalekit configuration is working correctly before integrating into your application.

Prerequisites

  • Node.js 20 or higher
  • A Scalekit account with an environment configured
  • http://localhost:12456/auth/callback added as a redirect URI in your Scalekit dashboard

Setup

Before using this tool, add the redirect URI to your Scalekit application:

  1. Go to your Scalekit Dashboard
  2. Navigate to API Config > Redirect URIs
  3. Add http://localhost:12456/auth/callback
  4. Save changes

Usage

npx @scalekit-sdk/dryrun --env_url=<url> --client_id=<id> [--mode=<sso|fsa>] [--organization_id=<id>]

Options

| Option | Required | Description | |--------|----------|-------------| | --env_url | Yes | Your Scalekit environment URL (e.g., env-xxxxx.scalekit.cloud) | | --client_id | Yes | Your OAuth client ID (starts with skc_) | | --mode | No | fsa for full-stack authentication, sso for enterprise SSO (default: fsa) | | --organization_id | SSO only | Required when mode is sso - the organization ID to authenticate against | | --help | No | Show help message |

Examples

Full-Stack Authentication (FSA)

Test the complete authentication flow managed by Scalekit:

npx @scalekit-sdk/dryrun \
  --env_url=env-abc123.scalekit.cloud \
  --client_id=skc_12345678901234567

Enterprise SSO

Test SSO authentication for a specific organization:

npx @scalekit-sdk/dryrun \
  --env_url=env-abc123.scalekit.cloud \
  --client_id=skc_12345678901234567 \
  --mode=sso \
  --organization_id=org_98765432109876543

What Happens

  1. The CLI fetches your OIDC configuration from Scalekit
  2. Generates secure PKCE parameters (code verifier and challenge)
  3. Starts a local server on port 12456
  4. Opens your browser to begin authentication
  5. After successful login, displays a dashboard with your user information

Dashboard

After successful authentication, you'll see:

  • User profile information (name, email, avatar)
  • All ID token claims
  • Option to view the raw token response

Troubleshooting

"redirect_uri mismatch" error

Ensure http://localhost:12456/auth/callback is added as a redirect URI in your Scalekit dashboard.

"Invalid client_id" error

Verify your --client_id matches the one in your Scalekit dashboard.

Port 12456 already in use

Another process is using port 12456. Stop that process or wait for it to complete.

Organization not found (SSO mode)

Verify the --organization_id exists and has SSO configured in your Scalekit dashboard.

Security

This tool is designed for testing purposes only. It:

  • Uses PKCE for secure authorization code exchange
  • Runs entirely on localhost
  • Does not store any tokens or credentials
  • Shuts down after you press Ctrl+C

Support

License

MIT