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

@doan-labs/duo

v0.0.0

Published

Duo app development CLI (convenience distribution of @doan-labs/duo-cli)

Readme

CLI

Preview app-development tooling; requires Bun 1.3 or newer. The package is @doan-labs/duo-cli; installed projects use the duo executable. @doan-labs/duo is a convenience distribution of the same CLI.

For the registry preview, run bunx @doan-labs/duo@preview create my-app, then install dependencies in my-app and run bun run check or bun run build. The commands below also support local archives without registry publication.

bun scripts/package-platform.ts
bun packages/cli/index.mjs create my-app --packages .cache/platform-packages/artifacts.json
bun packages/cli/index.mjs check /path/to/my-app
bun packages/cli/index.mjs build /path/to/my-app --out /path/to/catalog
bun packages/cli/index.mjs serve /path/to/catalog --port 5173

create writes a manifest, React/Nav entry, placeholder icon, changelog and package metadata. check validates metadata, official-lane membership, parsed import boundaries, strict TypeScript and the 4 MiB bundle cap. It refuses source symlinks, relative imports outside the app, computed imports, shell/other-app imports and remote source modules. These hygiene checks do not replace sandbox enforcement or implement the broader publishing service. Temporary check output is removed. build also enforces the hard cap.

Run create from the desired parent directory (the name is kebab-case, at most 12 characters). --packages selects the local archive set for unpublished SDK/kit/CLI versions and their transitive overrides. Run bun install in the created folder, then use its bun run check, bun run build and bun run dev. No source needs to live inside this repository.

dev [folder] --port 5173 --simulator http://localhost:3000 builds and watches, printing the shell's ?dev= URL. Reload explicitly to select a rebuilt release. preview does the same initial build without watching. Both use immutable release paths; Ctrl-C stops the server/watcher and removes owned temporary output. Preview data is isolated by origin and app id. Remove its DEV row in App Store to clear it. Device permissions remain deferred for previews.

serve provides loopback static hosting with CORS. Load its /index.json URL in App Store, then GET/OPEN. Explicit Refresh uses the selected catalog; no background catalog polling is enabled. See the review guide for reproduction and verification scope.

bun scripts/check-platform.ts runs the corresponding repository/CI gate, including SDK tests, generated API freshness and the opaque-frame UI gallery. External installed packages use their own exports and declarations. Repository examples have a documented compiler fallback to repository packages; external artifact-consumption checks independently verify that fallback is unnecessary.