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

v0.0.12

Published

Scaffold a new Tessera course.

Readme

create-tessera

Scaffold a new Tessera course.

Tessera is a toolkit for building interactive online courses that play in any LMS (SCORM 1.2, SCORM 2004, cmi5, or static Web), designed for AI-assisted authoring: open the scaffolded project in Claude Code, Cursor, or any tool that reads AGENTS.md, and describe the course you want in plain English. This package is the entry point — it generates the project, wires up the runtime, and drops AGENTS.md at the root so the agent knows the conventions.

Prerequisites

Requires Node.js 24 or later (which includes npm). If you already have it, jump to Usage. Otherwise:

  • macOS: Download the macOS Installer (.pkg) from nodejs.org/en/download and run it. The default options are fine.
  • Windows: Download the Windows Installer (.msi) from nodejs.org/en/download and run it. The default options are fine.

Open a new Terminal (macOS) or PowerShell / Command Prompt (Windows) window after installing and confirm:

node --version    # should print v24.x.x or higher

Usage

npm create tessera@latest my-course

Or equivalently:

pnpm create tessera my-course
yarn create tessera my-course

The scaffolder creates a new directory with:

  • course.config.js: course metadata, navigation, completion, and export settings
  • vite.config.js: Vite config wired up with the Tessera plugin (do not modify)
  • pages/: starter section, lesson, and page
  • AGENTS.md: the full authoring guide, right in the project root (read by humans and any LLM agent working in the project)
  • .gitignore

Both templates also create assets/ (drop images, audio, video here) and styles/. The default template seeds styles/custom.css with optional CSS overrides; the bare template leaves both folders empty and additionally creates a layout.svelte at the project root for you to customise, plus a project README.md.

Then:

cd my-course
npm install
npm run dev       # local dev server at http://localhost:5173
npm run export    # build + package for the configured LMS standard
npm run validate  # check the project for structural errors, no server or build

Open the printed URL in your browser. The page hot-reloads as you edit course files. Stop the server with Ctrl+C. The scaffolded project's AGENTS.md is the full authoring guide.

Upgrading an existing project

Run from a project root to re-apply the latest framework files:

npx create-tessera@latest upgrade            # apply changes
npx create-tessera@latest upgrade --dry-run  # preview without writing

upgrade touches only framework-owned files: it overwrites AGENTS.md and vite.config.js, reconciles the reserved npm scripts (dev, export, validate) in package.json, and pins tessera-learn to the version this CLI ships. Authored files — course.config.js, pages/, styles/, layout.svelte, README.md — are never touched. If you've changed a reserved script, upgrade leaves your version in place and warns.

Flags

| Flag | Description | |------|-------------| | --template=<name> | default (full starter, components included) or bare (hooks-only, layout.svelte, no built-in components). Defaults to default. | | --dry-run | (upgrade only) Preview changes without writing any files. | | --help, -h | Print usage and exit. |

License

MIT