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

@leeguoo/blog-publish

v0.1.11

Published

Personal MisoNote blog publishing CLI for login, publish, update, download, backup, and asset workflows

Readme

@leeguoo/blog-publish

Personal CLI for MisoNote blog publishing workflows.

Install

npm install -g @leeguoo/blog-publish

Requires Node.js 20 or newer.

Authentication

Interactive login stores a publish token in the local keychain when available:

blog-publish login
blog-publish whoami
blog-publish logout

For CI or one-off automation, pass --token or set PUBLISH_API_TOKEN instead of using login.

Publish

Publish or update a post payload from JSON or Markdown:

blog-publish publish --input ./post.json
blog-publish update --input ./post.md
blog-publish publish --input ./post.md --dry-run
blog-publish publish --input ./post.md --locale zh --slug example --title "Example" --summary "Short summary"
blog-publish publish --input ./deck.md --locale zh --slug ai-roadmap --title "AI Roadmap" --summary "Quarterly deck" --section ai_news --content-type ppt --dry-run

For Markdown input, frontmatter is optional. If the file is plain Markdown, pass required metadata with CLI flags such as --locale, --slug, --title, and --summary.

Common options:

  • --api-base <url>: override API base
  • --token <token>: bypass stored credentials
  • --idempotency-key <key>: stable publish dedupe key
  • Markdown metadata flags: --locale, --slug, --title, --summary, --section, --topic-slug, --content-type, --pair-id, --excerpt, --tags, --source-url, --repo-url, --public-source-label, --producer, --is-premium, --is-private, --status, --published-at, --decision-meta

contentType: ppt or --content-type ppt publishes a deck-style post while still allowing the same section, tags, and localization workflow as a normal article.

Download And Backup

Download one post or back up a filtered set of posts:

blog-publish download --locale zh --slug example-post --output ./example.md
blog-publish download --locale zh --slug example-post --format json
blog-publish backup --output-dir ./backups/content
blog-publish backup --locale zh --status published --format markdown

backup writes one file per post plus manifest.json.

Assets

Manage uploaded assets from the same CLI:

blog-publish upload --file ./cover.png
blog-publish asset-list
blog-publish asset-info --id <asset-id>
blog-publish asset-delete --id <asset-id>

Use --markdown-only on upload to print the generated Markdown snippet directly.