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

livespec

v1.0.10

Published

Living specification framework for AI-native development

Readme

What is Livespec?

An AI-native tool that builds projects with living specs and spec-driven tests, while keeping everything in sync and working.

Project documentation in tools like Notion lives disconnected from the actual code, and gets stale the moment it's written. Without documented behaviors, there's no way to verify tests cover everything they should. Even if all behaviors were documented, manually ensuring test coverage for each would be impractical. Other AI spec tools rely on complex and rigid workflows with multiple commands, and soon enough no longer represent actual code as you won't always use their processes.

Livespec brings Spec-Driven Development (SDD) with Behavior-Driven Development (BDD) scenarios to AI coding, while keeping specs, code, and tests in sync. Every behavior in your project is a spec. Every spec has tests linked with @spec tags. Your AI plans complex tasks, writes specs, code, and tests. Linked tests prove specs are valid.

One command: /livespec finds and fixes specs without tests, features without specs, and drift between code and specs, guiding you through decisions when needed and bringing important insights about your project. Coded something yourself? /livespec catches up.

Designed for both humans and AI. Just naturally talk to your AI to add or change features. No complex workflows or config to learn. Plans are automatically created for non-trivial tasks.

Specs are also AI context. No need to re-explain what's already documented. Specs get automatically updated if info is outdated or missing.

Language agnostic. Works with any codebase, any language.

Inspired by OpenSpec.


🔄 How It Works

Building Features

Keeping Specs & Code in Sync (/livespec)


🚀 Quick Start

Works with Claude Code, Cursor, Windsurf, GitHub Copilot, and Gemini CLI. Request others.

Prerequisites: Node.js or Bun. For JS/TS projects, Bun is recommended for its faster integrated tests.

npx livespec  # or: bunx livespec, pnpm dlx livespec, yarn dlx livespec

This sets up livespec files in your project. As instructed, run /livespec with your AI to populate generated files using your project information and optionally generate initial specs for your codebase.

Now just naturally ask your AI to build features. It will create feature plans for non-trivial tasks, update specs, and create and link tests. Run /livespec anytime to sync and verify everything is aligned.

[!TIP] Updating: npx livespec can also be used to update livespec in your project to the latest version.


📁 Structure

livespec/
├── livespec.md              # Livespec conventions & workflows for AI
├── projects/
│   └── my-app/
│       ├── project.md       # Domain knowledge, conventions
│       └── auth/
│           └── spec.md      # Feature spec with scenarios
└── plans/
    ├── active/              # Work in progress
    └── archived/            # Completed plans

📝 Spec Format (Summary)

Specs document features with testable scenarios:

# Authentication [APP.auth]

User authentication for the application.

## UI

### Figma

https://figma.com/file/...

---

## Login [APP.auth.login]

### Scenario: Successful login [APP.auth.login.success]

- WHEN user enters valid credentials
- THEN user is redirected to dashboard

Tests link to specs' scenarios with @spec:

/** @spec [APP.auth.login.success] */
it("redirects to dashboard after login", () => { ... });

📖 Full Reference

See livespec/livespec.md for entry points, design decisions, test types, and more.


🤝 Contributing

Contributions and suggestions are very welcome! Open an issue or submit a PR.


🌟 Showcase

Have a project, video, or blog post using Livespec? Open an issue to get it featured here!