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

@solera-bl/packages

v0.5.2

Published

Public npm façade that bundles selected BuffrLabs packages under explicit Solera BL subpaths.

Readme

@solera-bl/packages

@solera-bl/packages is a public npm façade for a selected, pinned set of BuffrLabs packages. It bundles the private implementation at release time, so consumers use the npm registry only and never need GitHub Packages configuration or a GitHub token.

The repository may remain private. The published npm tarball is public and distributed under the MIT license.

Install

npm install @solera-bl/packages

Use explicit subpaths

The package intentionally has no root export. Import the capability needed by the application:

import { CoreError } from '@solera-bl/packages/core-error';
import { JWTManager } from '@solera-bl/packages/jwt-manager';
import { ResponseManager } from '@solera-bl/packages/response-manager';

The package exposes these subpaths:

  • core-error
  • core-helpers
  • core-logger
  • email-manager
  • encryption-manager
  • jwt-manager
  • kysely-mysql-helper
  • mysql-core-error-resolver
  • openapi-manager
  • push-notification-manager
  • request-manager
  • response-manager
  • x12-manager
  • zod-core-error-resolver

Dependency model

The exact @buffrlabs/* versions are pinned in devDependencies. They are build-time inputs only: tsdown bundles their runtime code and declaration types into the published subpaths. External runtime dependencies remain regular dependencies, while external contracts that BuffrLabs packages declare as peers remain façade peer dependencies.

For local installation, copy .npmrc.example to .npmrc, then provide a GitHub Packages token through NODE_AUTH_TOKEN. The ignored .npmrc references the environment variable and must never contain a literal token.

Before publishing, the smoke test creates a packed tarball, installs it in a clean consumer with public npm registry configuration only, and imports every public subpath. It fails if any built JavaScript or declaration file still references @buffrlabs/*.

Updating bundled packages

Updates are intentional Solera releases; this repository does not synchronize automatically with BuffrLabs.

  1. Update the selected pinned @buffrlabs/* development dependency versions in package.json.
  2. Run pnpm install with GitHub Packages read access to update pnpm-lock.yaml.
  3. Update the public package version in package.json.
  4. Run pnpm run format:check, pnpm run lint, pnpm run typecheck, and pnpm run test.
  5. Merge the reviewed change.
  6. Manually dispatch Publish Package from the exact revision to release, entering publish as confirmation.

The workflow refuses to republish an existing version and publishes only the stable latest package.

First release and trusted publishing

The first release is a local, manual process because npm can configure a trusted publisher only after the package exists. It uses a normal npm token and your interactive two-factor authentication; it does not require a token that bypasses two-factor authentication and does not run in GitHub Actions.

  1. Create the ignored local file from the template:

    cp .env.example .env
  2. Set NPM_TOKEN in .env to a short-lived npm token that has publish access to the @solera-bl organization.

  3. Confirm package.json contains the intended first version, then run:

    pnpm run release:bootstrap

    The command runs formatting, linting, type checks, the packed-consumer smoke test, and the unpublished-version check. It then invokes npm publish in your terminal. Complete npm's interactive two-factor authentication when prompted.

  4. After @solera-bl/packages exists on npm, open its Settings page and add a Trusted Publisher:

    • Provider: GitHub Actions
    • GitHub organization or user: solera-bl
    • Repository: solera-packages
    • Workflow filename: release.yml
    • Environment: leave blank unless this repository later adds a GitHub Environment
    • Allowed action: npm publish
  5. Bump the version for a small follow-up release and dispatch Publish Package to verify trusted publishing. The workflow requests GitHub's id-token: write permission and runs npm publish without an npm token secret.

  6. Once that release succeeds, delete the repository's NPM_TOKEN action secret, revoke the bootstrap token, and enable npm's package setting that requires two-factor authentication and disallows token publishing.

The npm package can be public while this GitHub repository remains private. npm provenance is not available for a public package published from a private GitHub repository.

Required GitHub Actions secret

  • BUFFRLABS_PACKAGES_TOKEN: a GitHub token with read access to the private @buffrlabs/* packages.

The @solera-bl organization must exist on npm. The bootstrap token's identity needs publish access to it; later GitHub Action releases authenticate through the configured trusted publisher instead.