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-aktion

v0.5.13

Published

Scaffold a new Aktion app — `npm create aktion@latest` / `npx create-aktion`.

Readme

create-aktion

Scaffold a new Aktion app in seconds — pick from a hello-world starter or a fully-featured example.

# npm
npm create aktion@latest my-app

# pnpm
pnpm create aktion my-app

# yarn
yarn create aktion my-app

# or directly
npx create-aktion my-app

Run with no project name in a terminal and it prompts for a name and a template interactively. Then:

cd my-app
npm install
npm run dev        # http://localhost:5173
npm test           # (templates other than `empty`)

Templates

| Template | What you get | |--------------|--------------| | empty | Minimal hello-world starter — one .aktion file, no tests. | | dashboard | A home-automation control panel — a $store, device controls (switches/sliders), scenes, energy charts, and automations, behind an AppShell + router. | | website | A pet-sitting company marketing site — sticky navbar, hero, services, a pricing table + FAQ, and a validated contact form. | | todos-app | A REST CRUD todo app — $http create/toggle/edit/delete against a live API, with Async loading/error/empty states. | | chatbot | An OpenAI chatbot — settings popover for your API key, a transcript, and an offline echo fallback so it works with no key. | | portfolio | A frontend developer portfolio — router pages, a filterable projects grid, an experience timeline + skills radar, and a contact form. |

Every template except empty ships multiple .aktion files split the way you'd split a React app (data / store / components / pages) and a Vitest unit test suite covering its core behaviour.

# pick a template up front (non-interactive / CI):
npm create aktion@latest my-app -- --template dashboard
npx create-aktion my-app -y --template todos-app

Options

create-aktion <project-name> [options]

  -t, --template <name>   empty | dashboard | website | todos-app | chatbot | portfolio
                          (default: empty)
      --pm <manager>      Package manager for the printed next-steps (npm | pnpm | yarn | bun)
  -y, --yes               Skip prompts (use defaults; required in CI / non-TTY)
  -h, --help              Show help

What you get

A Vite + TypeScript project with multi-file .aktion modules wired through the aktion-runtime/vite plugin (which links the import/export graph and emits a typed CompiledProgram), HMR with $state preservation, ambient *.aktion types, and — for every template but empty — Vitest tests that mount the compiled program and drive it like a user.

my-app/
  src/
    app.aktion              entry (assigns `aktion`, imports the rest)
    …                       components/, pages/, data/, store, lib (per template)
    main.ts                 mounts the compiled program
    env.d.ts
  tests/                    Vitest suite (except `empty`)
  index.html
  vite.config.ts            registers the aktion() plugin
  vitest.config.ts          happy-dom test env (except `empty`)
  tsconfig.json
  .vscode/                  recommends the Aktion extension + format-on-save

Install the Aktion VS Code extension for highlighting, diagnostics, hover, and completions on .aktion files.