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

aws-blocks-console

v0.1.1

Published

Local-first admin console for AWS Blocks projects: browse your Building Blocks, read local and deployed data, and call your API — in a browser, with no setup.

Readme

aws-blocks-console

A local-first admin console for AWS Blocks projects. Think Prisma Studio, but for Building Blocks.

npx aws-blocks-console

Run it inside an AWS Blocks project. It walks up from the current directory to find aws-blocks/index.ts, discovers your blocks, picks a free port, and opens a browser. No flags, no config file, no project path.

What you get

  • Your blocks, grouped by category — discovered by parsing your source, so the list matches what you actually declared rather than what is deployed.
  • Local and cloud data side by side — read .bb-data from your dev server, or scan the deployed DynamoDB tables and Cognito pool for the same block. Key names come from DescribeTable, so composite keys render correctly instead of being assumed to be pk/sk.
  • A JSON-RPC playground — call your API methods against either the local dev server or the deployed endpoint, with parameter names pulled from your own method signatures.
  • Deployed resources — every CloudFormation resource in the stack, grouped by the block that caused it, each linking into the AWS console.
  • Writes, when you ask for them — create, edit and delete records behind an explicit unlock that re-locks after 15 minutes.

Commands

aws-blocks-console                 # serve the UI (default)
aws-blocks-console doctor          # report what was detected, change nothing
aws-blocks-console connect         # register aws-blocks-mcp with your agents

| Option | | | --- | --- | | -p, --project <path> | Project to inspect (default: found from the current directory) | | --profile <name> | AWS profile for cloud mode | | --region <region> | AWS region for cloud mode | | --port <port> | Port to serve on (default: first free from 4400) | | --no-open | Do not open a browser |

Running it in a monorepo root that contains several Blocks projects reports the candidates it found rather than guessing which one you meant.

Local mode needs no AWS

Block discovery, .bb-data browsing, record editing and the RPC playground all work with no AWS credentials whatsoever — verified with a deliberately nonexistent profile. Only cloud browsing needs credentials and a deployed stack, and doctor tells you which of the two is missing rather than reporting a generic failure.

The AWS CLI is never invoked. Cloud mode uses the AWS SDK, which reads ~/.aws/config directly, so only your credentials matter — not whether you have the CLI installed.

Safety

The server binds 127.0.0.1 only. Values shaped like credentials are redacted before they reach the browser, judged by the value's shape rather than its field name — a name-based denylist is exactly how password hashes leak out of a table nobody thought to add to the list. Cloud writes are refused server-side while locked, so the gate is not merely a UI affordance.

Local writes are refused while your dev server is running, because the mock loads .bb-data once at startup and would overwrite anything written underneath it.

License

MIT