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

v-github-oauth

v2.0.2

Published

<h1 align="center"> πŸ“¦πŸ” Verdaccio GitHub OAuth UI </h1>

Readme

About

The plugin is similar to verdaccio-github-oauth, but also changes the UI login behaviour. When clicking the login button, instead of filling in a login form, you are asked to log in with GitHub.

In case you need CLI support for automation purposes, the plugin is also compatible with sinopia-github-oauth-cli.

Install

$ npm install verdaccio-github-oauth-ui

Compatibility

  • This plugin is currently only compatible with Verdaccio 3.x.
  • This plugin supports Node versions 6.5.x - 10.x.x

Configuration

Verdaccio Config

Merge the below options with your existing Verdaccio configuration:

middlewares:
  github-oauth-ui:
    client-id: $GITHUB_OAUTH_CLIENT_ID # required
    client-secret: $GITHUB_OAUTH_CLIENT_SECRET # required
    github-enterprise-hostname: $GITHUB_OAUTH_GITHUB_ENTERPRISE_HOSTNAME # optional, set this if you are using github enterprise

auth:
  github-oauth-ui:
    org: $GITHUB_OAUTH_ORG # required, people within this org will be able to authenticate

The configured values can be either a value or the name of an environment variable that contains the value.

GitHub Config

When creating the OAuth app at https://github.com/settings/developers, the callback URL should be:

YOUR_REGISTRY_URL/-/oauth/callback

If url_prefix is specified in the Verdaccio config then it must match the YOUR_REGISTRY_URL.

How to Login

Verdaccio

Click the login button and login at GitHub, if not already logged in.

Authorize the registry. Important: When using a private GitHub org, make sure to click the Request button for read:org access. See #5.

After successful login and authorization, you're redirected back to the verdaccio registry.

Command Line

To set up authentication with the registry in your npm CLI, you'll need to run the commands shown in the header:

To verify that the authentication token is set up correctly, run the following command:

$ npm whoami --registry YOUR_REGISTRY_URL
n4bb12

If you see your GitHub username, you are ready to start publishing packages.

Unless the token is revoked by you in the GitHub settings, it never expires.