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

create-astram-app

v0.4.0

Published

Scaffolder for a new Astram app — emits a running, framework-enforced consumer project (empty src/features/ + deny-by-default enforcement) that installs the immutable @astram/core, @astram/guard, and @astram/sdk framework.

Readme

create-astram-app

The Astram app scaffolder (ADR-0023 §3). Emits a new consumer app that depends on the published, immutable framework (@astram/core, @astram/guard, @astram/sdk) and enforces deny-by-default from the first boot.

Use it

npx create-astram-app my-app
cd my-app
npm install
npm run dev        # boots the app; GET /health → 200, unclassified route → 403

What it emits

A running, framework-enforced NestJS app (the minimal, clean version of examples/example-backend/):

my-app/
├── package.json         depends on @astram/core ^0.1.0, @astram/guard ^0.1.1,
│                        @astram/sdk ^0.1.0 (published ranges — NEVER workspace:*),
│                        plus the NestJS runtime. "private": true.
├── tsconfig.json + tsconfig.build.json
├── vitest.config.ts
├── src/
│   ├── main.ts          bootstraps Nest; loadAppConfig from @astram/guard
│   ├── app.module.ts    imports ShieldModule.forRoot() — the ONE seam
│   ├── health/          @Public health probes + a demo denied route (enforcement proof)
│   └── features/        EMPTY — the developer's editable space
├── test/                enforcement e2e (200 health + 403 unclassified)
├── .astram/guide/       DEVELOPER-OWNED guide layer (ADR-0025) — upgrade-safe, never touched
├── .env.example         config references only (safe defaults; boots with no .env)
├── .gitignore
└── README.md            how to run + how to add features the framework way

Guarantees

  • Immutable-core consumption — the emitted package.json uses published semver ranges, never workspace:* and never a source symlink. The framework upgrades via npm update; the app's src/ is never touched.
  • Never clobbers — scaffolding into an existing directory only writes files that do NOT already exist. A developer-authored docs/, .astram/guide/, README, or any other file is left exactly as-is (and reported as skipped). astram3's program docs survive scaffolding.
  • Runs immediatelynpm install && npm run dev boots a framework-enforced app with no further wiring. (A turnkey login/session boilerplate arrives in a later framework release; today the app gives correct-by-default enforcement.)
  • Honest — the CLI never prints "not implemented"; it scaffolds a real app and tells you how to run it and add a feature.

Commands (for developing this package)

pnpm --filter create-astram-app build   # tsc → dist/index.js (the CLI)
pnpm --filter create-astram-app test    # vitest — CLI + never-clobber + emitted-shape
pnpm --filter create-astram-app lint