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

@devserver/cli

v0.15.8

Published

Minimalist development server

Readme

@devserver/cli

Minimalist development server with minimal disk impact and designed for modern development.

Dev support

  1. Support for JSX(pragma and jsx-runtime) and TS tanks to Sucrace.
  2. Livereload, HTTP2 with automatic SSL.
  3. Resolution from NPM only if the package has support for modules declared by package.json#exports or package.json#module.
  4. Alternative NPM package resolution via CDN.

Build support

  1. Support for JSX(pragma and jsx-runtime) and TS tanks to Sucrace.
  2. Assets hash.
  3. CSS and JS optimization.
  4. Resolution from NPM only if the package has support for modules declared by package.json#exports or package.json#module.
  5. Automatic detection of external dependencies.
  6. Alternative NPM package resolution via CDN.

Considerations

  1. All import requires the use of extension, example ./my.js.
  2. All relative resources require the use of the ./ or ../ pattern.

Dev mode

This mode is designed to serve content from an HTML file and process the content served on demand according to the type.

npx devserver dev <src>
## Directory example
src
  ├──index.js
  └──index.html
## Script
npx devserver dev src

Build mode flag

--port [port]: Modify the default port 80.

--spa [file]: The unresolved requests are redirected to the file to associate.

--jsxImportSource [jsxImportSource]: allows to associate the package to use for jsx-runtime.

--ssl: enables the use of HTTP2 with SSL.

--cdn: Resolve NPM packages from a CDN.

Build mode

This mode packages the site or application according to the export pattern, example:

npx devserver build <src> <dest>
## Example
npx devserver build src/*.html public

The previous example will export all the asset files that are related to the files captured by the expression.

Build mode flag

--jsxImportSource [jsxImportSource]: allows to associate the package to use for jsx-runtime.

--cdn: Resolve NPM packages from a CDN.

--minify: Minify JS and CSS code.

--href [href]: Associate a prefix for file resolution.

--external [external]: Associate external dependencies manually.

Build rule

  1. The path must always start from a static folder, example:
src/** ## `src` is the static path
src/site-1/** ## `src/site-1` is the static path
  1. All relative import requires the use of extension.