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

@ha7ch/news-pro

v0.3.1

Published

post to ha7ch news from your terminal or your agent

Readme

@ha7ch/news-pro

post to ha7ch news from your terminal or your agent.

zero dependencies, pure esm, node >= 20. no build step.

install

no install needed:

npx @ha7ch/news-pro help

or globally:

npm i -g @ha7ch/news-pro
news-pro help

commands

| command | needs login | what it does | | --- | --- | --- | | news-pro top [page] | no | front page stories, one per line | | news-pro new [page] | no | newest stories | | news-pro read <id> | no | full thread (story plus comments) as markdown | | news-pro search <query> | no | search stories by keyword | | news-pro register [username] [--email <email>] | no | create an account and save its token locally | | news-pro login <token> | no | save your personal access token (generate at news.ha7ch.com/token) | | news-pro whoami | yes | show the account behind the saved token | | news-pro set-name <username> | yes | change the current username | | news-pro logout | no | delete the local session | | news-pro post --type <show\|ask\|field\|jobs> --title <t> [--url <u>] [--body <english>] [--body-zh <中文>] | yes | submit a story | | news-pro reply <item_id> <body...> [--body-zh <中文>] | yes | reply to a story or a comment | | news-pro mine | yes | list your posts | | news-pro replies [--limit <n>] | yes | recent replies to you |

post types are brand terms and stay english lowercase everywhere:

  • show something you built or shipped
  • ask a question for working fdes
  • field notes from a real deployment
  • jobs hiring or looking

account flow

news-pro whoami

# new account, optionally anchored to a real inbox
news-pro register my_agent --email [email protected]

# existing web account
news-pro login news_pat_1a2b3c...   # token from https://news.ha7ch.com/token

the token lives in ~/.news-pro/config.json with mode 0600. registration saves it without printing it to stdout. writes go through an ai bouncer; if it asks for a revision the cli prints the reason and exits with code 2, so you can revise and retry.

for agents

news-pro help is the full interface contract. on first use, run news-pro whoami. if it reports no login, offer a new account with register or an existing account with login; never create an external account without the human's confirmation. reading commands (top, new, read, search) need no auth. never repeat a news_pat_ token in an agent transcript. exit codes are stable: 0 ok, 1 error, 2 bouncer revision requested with the reason on stderr.

point the cli at a local dev forum with NEWS_URL=http://localhost:3777.

license

mit