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

snapp-kit

v3.0.1

Published

A global build tool for Snapp Framework. Install once, use everywhere. Zero dependencies, zero configuration - just compile your JSX/TSX files to vanilla JavaScript.

Readme

Snapp Kit

A simple build tool for Snapp Framework

npm version License: MIT Built with esbuild

Live server powered by @compodoc/live-server


Table of Contents


What is Snapp Kit?

Snapp Kit compiles your JSX/TSX files to vanilla JavaScript. Simple as that.

What it does:

  • Compiles JSX/TSX to JavaScript (powered by esbuild)
  • Live server with auto-refresh during development
  • Creates page templates instantly

What is Snapp? - A lightweight JavaScript framework. Learn more →


Quick Start

Recommended: Create New Project

npm create snapp-app my-app

cd my-app
npm run snapp

Open http://localhost:9000 - Done!

Why use this?

  • No global installation needed
  • Everything set up automatically
  • Works on any machine
  • Perfect for team projects

Alternative: Global Installation

For personal projects or if you want the CLI everywhere:

npm install -g snapp-kit

# For macOS/Linux
sudo npm install -g snapp-kit

Then use:

snapp create my-app

cd my-app
snapp build -W

Commands

Note: If you used npm create snapp-app, add prefix commands with npx (e.g., npx snapp build -W)


npm create snapp-app <name>

Creates a new project with everything configured.

npm create snapp-app my-project

cd my-project
npm run snapp

Creates:

my-project/
├── views/
│   └── index.jsx      # Your JSX files
├── src/
│   ├── index.js       
│   └── snapp.js       # Snapp runtime
└── index.html         # HTML

snapp create <name>

Creates a new project

snapp create my-project

cd my-project
snapp build -W

snapp page <name>

Generates a new page (HTML + JSX). Must be run inside project directory.

With npm create snapp-app:

cd my-project
npx snapp page contact

With global installation:

cd my-project
snapp page contact

Creates:

  • contact.html - HTML template
  • views/contact.jsx - JSX component

snapp build [options]

Compiles JSX/TSX files from views/ to src/.

snapp build          # Build once
snapp build -W       # Build + watch + live server
snapp build -M       # Build minified
snapp build -W -M    # Watch + live server + minify

Options:

| Flag | Long | Description | |------|------|-------------| | -E | --entry | Project folder (e.g., -E MyApp) | | -W | --watch | Watch mode + live server | | -M | --minify | Minify output | | -P | --port | Server port (default: 9000) |

When to use -E:

Inside your project - no -E needed:

cd my-project
snapp build -W

Outside your project - use -E:

snapp build -W -E my-project

snapp --version | snapp -V

Check installed version:

snapp --version
snapp -V

snapp --help

Show all available commands:

snapp --help

How It Works

Snapp Kit compiles your files using esbuild:

views/index.jsx   →  src/index.js
views/about.tsx   →  src/about.js

Supported files: .jsx, .tsx, .ts, .js

Watch mode:

  • Starts live server on port 9000
  • Rebuilds when files change
  • Refreshes browser automatically

Troubleshooting

Command not found

For npm create:

npm --version  # Check npm version (need 6+)

For global installation:

npm install -g snapp-kit
snapp --version

For npx commands:

cd my-project
npx snapp --version

Files not compiling

Check your folder structure:

ls views/*.jsx   # Verify files exist

Then build:

snapp build -W

Port already in use

snapp build -W -P 8080

Permission errors (Linux/Mac)

sudo npm install -g snapp-kit

Or use npm create snapp-app (no sudo needed!)


Why Snapp Kit?

  • Simple - One command to build
  • Fast - Powered by esbuild
  • Flexible - Global or per-project

Snapp Kit v3

Install NowSnapp FrameworkGitHub