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-speck-app

v0.5.1

Published

Scaffold a new Speck.js application

Readme

create-speck-app

Scaffold a new Speck.js application with one command.

Speck.js is an AI-first web framework: JSX-like .speck components, fine-grained reactivity powered by Preact Signals, and built-in AI agents you can drop into your UI with a single tag.

Quick Start

npm create speck-app@latest my-app
cd my-app
npm run dev

Your app is now running at http://localhost:5173.

Tip: Always include @latest — it makes sure npm doesn't reuse an older cached version of this scaffolder.

Requirements

  • Node.js 18 or newer

Enable the AI agent (optional)

The starter app includes a working AI chat built with <Agent.Chat />. To activate it, add your Anthropic API key to the .env file in your new project:

VITE_ANTHROPIC_API_KEY=sk-ant-...

Then restart npm run dev. Without a key, everything else still works — only the chat replies with a "key not configured" error.

What's Included

  • ✅ Speck.js compiler with auto-watch for .speck files
  • ✅ Vite dev server with hot reload
  • ✅ Preact + Preact Signals (fine-grained reactivity)
  • ✅ Built-in <Agent /> components — full AI chat in one line:
    <Agent.Chat purpose="You are a helpful assistant." memory={true} />
  • ✅ Persistent agent memory (memory={true}) backed by a local SQLite database
  • ✅ Example components to learn from (src/components/*.speck)

Your First Component

Create src/components/Hello.speck:

<Hello>
  <state name={"World"} />

  <div>
    <h1>Hello, {state.name.value}!</h1>
  </div>
</Hello>;

Then use it anywhere — no imports needed:

<App>
  <Hello />
</App>;

See SPECK_GUIDE.md in your new project for the full syntax guide.

Troubleshooting

npm create speck-app fails or behaves strangely? You may be running a stale cached version. Run with @latest, or clear the cache first:

npx clear-npx-cache   # or: rm -rf ~/.npm/_npx
npm create speck-app@latest my-app

Want to skip the automatic npm install?

npm create speck-app@latest my-app -- --no-install

Links

License

MIT