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

knotapi-js

v1.1.0

Published

Provide a seamless way for end users to link their merchant accounts to your web app.

Readme

Please see https://docs.knotapi.com/ for installation instructions.

Setup

Run:

git clone https://github.com/millionscard/knotapi-js.git
cd knotapi-js
cp .env.example .env

Copy values in the 1Password into .env

Install packages and start

yarn
yarn start

Releasing a New Version

To create a new release:

  1. Create a release branch with the version number:

    git checkout -b release/X.Y.Z

    (e.g., release/1.0.7)

  2. Update the version in package.json following semantic versioning:

    • Patch version (1.0.6 → 1.0.7) for bug fixes
    • Minor version (1.0.6 → 1.1.0) for new features
    • Major version (1.0.6 → 2.0.0) for breaking changes
  3. Commit and push the version change:

    git add package.json
    git commit -m "chore: bump version to X.Y.Z"
    git push origin release/X.Y.Z
  4. Merge the release branch to main (via pull request or directly):

    git checkout main
    git merge release/X.Y.Z
    git push origin main
  5. Create and push a git tag from the main branch:

    git tag vX.Y.Z
    git push origin vX.Y.Z
  6. GitHub Actions will automatically:

    • Generate a changelog from merged PRs
    • Create a GitHub Release with the changelog
    • Run tests
    • Publish the package to npm

The release workflow is triggered by pushing a tag, so make sure the tag matches the version in package.json.

Troubleshooting: Expired npm Token

If the GitHub Actions workflow fails with an npm authentication error (e.g., "npm ERR! code E401" or "npm ERR! 401 Unauthorized"), the npm token may have expired. Follow these steps to create a new token and update the secret:

  1. Create a new npm access token:

    • Go to npmjs.com and log in
    • Click on your profile → Access Tokens (or go directly to https://www.npmjs.com/settings/YOUR_USERNAME/tokens)
    • Click Generate New TokenAutomation (or Classic Token with "Automation" type)
    • Copy the token immediately (you won't be able to see it again)
  2. Update the GitHub secret:

    • Go to the repository on GitHub
    • Navigate to SettingsSecrets and variablesActions
    • Find the NODE_AUTH_TOKEN secret
    • Click Update and paste the new token
    • Save the changes
  3. Re-run the failed workflow:

    • Go to the Actions tab
    • Find the failed workflow run
    • Click Re-run all jobs (or re-run the specific failed job)

Alternatively, you can push the tag again to trigger a new release workflow:

git push origin vX.Y.Z --force