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

creditlint

v0.1.2

Published

Optional npm wrapper for the native creditlint CLI

Readme

creditlint npm wrapper

This package provides the optional npm creditlint command for teams that install developer tools through npm, pnpm, or npx.

Normal npm consumers should not need Rust or Cargo. This package resolves a platform-specific optional dependency such as creditlint-darwin-arm64 or creditlint-linux-x64, then runs the native Rust creditlint binary from that package.

The implementation is a thin wrapper. It does not reimplement policy parsing or Git metadata checks in JavaScript.

Install

pnpm add -D creditlint
pnpm exec creditlint --help

Local Development

Build the native CLI first:

cargo build

Then point the wrapper at the local binary:

CREDITLINT_BIN="$PWD/target/debug/creditlint" pnpm --filter creditlint run creditlint --help

Run wrapper tests:

pnpm --filter creditlint test

If CREDITLINT_BIN is not set, the wrapper checks for a packaged native binary from the installed platform package, then native/, then repository-local Cargo build outputs.

First Manual Publish

Before publishing the main package, stage real release binaries into the platform packages:

packages/creditlint-darwin-arm64/bin/creditlint
packages/creditlint-darwin-x64/bin/creditlint
packages/creditlint-linux-arm64/bin/creditlint
packages/creditlint-linux-x64/bin/creditlint
packages/creditlint-windows-x64/bin/creditlint.exe

Then publish platform packages first, followed by the main wrapper package:

cd /path/to/creditlint

scripts/bootstrap-npm-trust-packages.sh --dry-run
scripts/bootstrap-npm-trust-packages.sh --execute

scripts/publish-npm-packages.sh --dry-run --stage-local
scripts/publish-npm-packages.sh --dry-run
scripts/publish-npm-packages.sh --execute

The bootstrap script publishes placeholder 0.0.0-trust.0 packages with the bootstrap dist-tag so npm trusted publishing can be configured before CI publishes real release binaries. Publish commands use each package's publishConfig.registry, which points at the official npm registry.

The script stages binaries from dist/npm/ automatically. Staged binaries in packages/creditlint-*/bin/ are ignored by Git.

Do not publish creditlint as a normal user-facing release until the matching platform package versions are already available.