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

@goldlabelapps/package

v1.0.5

Published

GoldLabel NPM package

Readme

@goldlabelapps/package

npmjs.com

TypeScript-first component library intended to be used by Shared UI components and cartridges in GoldLabel projects

Quick start

Wrap your Next app in the Setup component and configure your config. We will be using Next's Node capability to create a config.json

import { Setup } from '@goldlabelapps/core'

export default function Page(){
  return <Setup>
          <p>Hello</p>
          {CHILDREN}
        </Setup>
}

Install

  1. Install in your JavaScript app
npm install @goldlabelapps/package
  • Peer dependencies: react, react-dom (install in your app)
  1. Build & publish

Install dev deps and build locally:

npm install
npm run build

To publish to the npm registry (requires npm login with org access):

npm publish --access public

This repository includes a GitHub Actions workflow at .github/workflows/publish.yml that builds the package and publishes to npm when a tag matching v* is pushed (for example v0.1.0). The workflow needs a repository secret named NPM_TOKEN with an npm automation token that has publish rights for @goldlabelapps.

  1. Create an npm automation token (you mentioned you're logged into npm in the browser — that helps here):
  • Open https://www.npmjs.com/ and sign in (you're already signed in in the browser).
  • Go to your profile → Access Tokens (or https://www.npmjs.com/settings//tokens).
  • Create a new token with type Automation (or a publish-enabled token). Copy the token value — you will not be able to view it again.
  1. Add the token to GitHub repository secrets:
  • On GitHub, go to the repository → Settings → Secrets & variables → Actions → New repository secret.
  • Name it NPM_TOKEN and paste the token value. Save.

Alternatively, using the gh CLI (if installed and authenticated):

gh secret set NPM_TOKEN --repo YOUR_ORG/YOUR_REPO --body "$(cat /path/to/token-file)"
  1. Create and push a release tag to trigger the workflow:
# bump package.json version (example)
npm version 0.1.0 -m "chore(release): %s"

# push commit and tag
git push origin main --follow-tags

The workflow will run on the pushed tag and, if NPM_TOKEN is set, publish the package to npm.

Local publish (if you prefer to publish from your machine):

  • If you'd rather publish manually from this environment or your local machine you can log in with the npm CLI and publish directly:
npm adduser
npm publish --access public
  • If you're already logged into npm in the browser, that does NOT automatically authenticate the terminal — you'll still need to either npm adduser in the terminal or create a token in the web UI and set it as an environment variable:
export NPM_TOKEN="<token-from-npm-website>"
npm publish --access public --//registry.npmjs.org/:_authToken=$NPM_TOKEN

Security notes

  • Prefer using an npm Automation token (least privilege) and store it as a GitHub Actions secret. Do not commit tokens into the repo.
  • The workflow only publishes for refs that start with refs/tags/v so publishing is gated by creating and pushing a v* tag.

Verifying the publish

  • After the workflow runs, check the Actions tab for the workflow run. If the Publish package step completed successfully, the package should be available on the npm registry at https://www.npmjs.com/package/@goldlabelapps/core.

npm publish --access public