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

publish-safe

v0.1.2

Published

Migration & verification tool for secure npm publishing

Readme

publish-safe

CLI tool to help npm maintainers audit and migrate to trusted publishing safely.

English | Tiếng Việt


English

Installation

npx publish-safe

Commands

audit - Check current publish configuration

npx publish-safe audit

fix - Generate patches to migrate to trusted publishing

npx publish-safe fix

Creates 2 files in .publish-safe/:

  • publish-workflow.yml - New GitHub Actions workflow
  • migration-checklist.md - Migration checklist

verify - Verify setup is correct

npx publish-safe verify

doctor - Explain security concepts

npx publish-safe doctor

init-ci - Create GitHub Actions workflow for continuous auditing

npx publish-safe init-ci

Creates .github/workflows/publish-safe-audit.yml for automated security checks.

JSON Output

All commands support JSON output:

npx publish-safe audit --json
npx publish-safe verify --json

Use Cases

  • Solo maintainer: Audit and fix 1 repo in 5 minutes
  • Agency: Audit all client repos before handover
  • Open source maintainer: Enable provenance for packages

Resources


Tiếng Việt

CLI tool giúp npm maintainers audit và migrate sang trusted publishing một cách an toàn.

Cài đặt

npx publish-safe

Các lệnh chính

audit - Kiểm tra cấu hình publish hiện tại

npx publish-safe audit

fix - Tạo patch để migrate sang trusted publishing

npx publish-safe fix

Tạo ra 2 file trong .publish-safe/:

  • publish-workflow.yml - GitHub Actions workflow mới
  • migration-checklist.md - Checklist để migrate

verify - Kiểm tra setup đã đúng chưa

npx publish-safe verify

doctor - Giải thích khái niệm bảo mật

npx publish-safe doctor

init-ci - Tạo GitHub Actions workflow để audit liên tục

npx publish-safe init-ci

Tạo ra .github/workflows/publish-safe-audit.yml để kiểm tra bảo mật tự động.

JSON Output

Tất cả commands hỗ trợ JSON output:

npx publish-safe audit --json
npx publish-safe verify --json

Use cases

  • Solo maintainer: Audit và fix 1 repo trong 5 phút
  • Agency: Audit tất cả client repos trước khi handover
  • Open source maintainer: Enable provenance cho package

Tài liệu tham khảo