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

@omit-design/dev-server

v0.3.0

Published

omit-design Vite plugin: exposes /__omit/* file-IO endpoints so the engine shell can read/write skills, patterns, and PRDs from the browser.

Readme

@omit-design/dev-server

Vite plugin that exposes a small set of HTTP endpoints under /__omit/* so the engine shell's Library page can read and write the user-customizable assets in their omit-design project — skills, patterns, and PRDs — directly from the browser, without leaving the dev server.

Why

omit-design's "AI + human collaboration" story rests on three user-editable asset types:

  • Skills (.claude/skills/<name>/SKILL.md) — natural-language guidance for Claude Code.
  • Patterns (patterns/<name>/) — project-local extensions to the built-in preset patterns (whitelist + template).
  • PRDs (prds/<slug>.md) — product requirement docs that get fed into the new-design skill.

Editing these in a text editor is fine for engineers, but blocks designers and PMs. This plugin is the file-IO bridge that lets the workspace UI manage them.

Usage

// vite.config.ts
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { omitDevServer } from "@omit-design/dev-server";

export default defineConfig({
  plugins: [react(), omitDevServer()],
});

Then open http://localhost:5173/workspace/<projectId>/library.

Endpoints

All under /__omit. JSON in/out.

| Method | Path | Purpose | |---|---|---| | GET | /library | one-shot index of all three kinds | | GET | /skills | list skills | | GET | /skills/:id | read SKILL.md | | PUT | /skills/:id | write SKILL.md (creates dir if needed) | | DELETE | /skills/:id | rm skill dir | | POST | /skills/rename | { from, to } | | GET | /patterns | list project-local custom patterns | | GET | /patterns/:id | read {config, template, readme} | | PUT | /patterns/:id | write all three files | | DELETE | /patterns/:id | rm pattern dir | | GET | /preset/components | list Om* exports from preset-mobile (for whitelist chips) | | GET | /prds | list PRDs | | GET | /prds/:id | read <id>.md | | PUT | /prds/:id | write <id>.md | | DELETE | /prds/:id | rm <id>.md | | GET | /bootstrap | read .omit/bootstrap.json (visual theme imported via /bootstrap-from-figma or palette swatch) | | PUT | /bootstrap | write .omit/bootstrap.json | | DELETE | /bootstrap | clear .omit/bootstrap.json |

Safety

  • Path-traversal guard. All write/read paths are resolved through safeJoin(root, kind, id), which rejects absolute paths, .. segments, and any target that escapes the kind's whitelisted subdirectory.
  • Local-first. The plugin only registers under Vite's dev-server middleware (apply: "serve"). It never runs in production builds.
  • Single user. No auth, no concurrency control. Assumes one developer per dev server, which is the existing local-first model.

License

MIT