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

package-radar

v0.0.2

Published

Weekly package news for your stack — with source links

Readme


🔍 Scanning your project...

Detected:

✓ React Native 0.82
✓ Expo SDK 54
✓ TypeScript 7
✓ Drizzle ORM

──────────────

🔥 5 things happened this week

1. TypeScript 7

You should care because:
Your project has 1,342 TypeScript files.
This release improves incremental builds.

Sources:
• Announcing TypeScript 7
  https://devblogs.microsoft.com/typescript/...

Recommendation:
Worth testing.

──────────────

Features

  • Detects your stack from package.json (TypeScript, Expo, React Native, Next.js, Drizzle, and more)
  • Looks up latest versions on npm
  • Uses OpenAI web search for major package/framework news
  • Source links on every item (blogs, changelogs, GitHub Releases)
  • Saves your OpenAI API key locally (~/.package-radar/) and protects project .gitignore

Package Radar focuses on major news — not security audits or CVE noise.

Requirements

  • Node.js 20 or later
  • An OpenAI API key with access to the Responses API + web search

Installation

Using npm:

npm install -g package-radar

Using yarn:

yarn global add package-radar

Or run once without installing:

npx package-radar

Usage

From any Node project directory:

package-radar

First run prompts for your OpenAI API key (saved to ~/.package-radar/config.json). You can also set OPENAI_API_KEY in the environment.

package-radar config          # save / update API key
package-radar config --show   # check if a key is configured
package-radar config --clear  # remove saved key
package-radar --help

What happens on each run

  1. Scan — nearest package.json, known frameworks, source file counts
  2. Registry — latest versions on npm for detected packages
  3. News — OpenAI web search for major announcements
  4. Report — why it matters, recommendation, and source URLs
  5. Safety — appends .package-radar/ to the project .gitignore if missing

Config & environment

| Variable / path | Required | Description | | --- | --- | --- | | OPENAI_API_KEY | Yes* | Overrides the saved key when set. Get a key. | | OPENAI_MODEL | No | Model name (default: gpt-4.1-mini). | | ~/.package-radar/config.json | — | Where the API key is stored after package-radar config. |

*Required either as env var or via package-radar config.

Local development

git clone https://github.com/watadarkstar/code-radar.git
cd code-radar
yarn install
yarn start          # run via tsx
yarn build          # emit dist/
yarn typecheck

| Script | Description | | --- | --- | | yarn start / yarn radar / yarn dev | Run the CLI from source | | yarn build | Build with tsup → dist/ | | yarn typecheck | tsc --noEmit | | yarn clean | Remove dist/ | | yarn release:dry | Dry-run a release | | yarn release | Version, tag, GitHub release, publish to npm |

License

MIT

Author

Feel free to ask me questions on Twitter @icookandcode!

Contributors

Submit a PR to contribute :)

Release

We use release-it to version, tag, create a GitHub release, and publish to npm.

Prerequisites:

  1. Logged into npm: npm login
  2. GH_TOKEN (or GITHUB_TOKEN) with repo access if you want GitHub releases
  3. Clean git working tree on the default branch

Then:

yarn run release:dry
yarn run release

release:dry prints what would happen without publishing. release bumps the version, runs typecheck + build, commits/tags, creates a GitHub release, and publishes package-radar to the npm registry.


Stay ahead of your stack.

Star this repo • 💬 Contact Adrian

Built with ❤️ by Adrian


Keywords: cli, package-radar, package news, dependencies, changelog, npm, openai, typescript, developer-tools