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

upsite

v0.10.0

Published

Just put up a site

Downloads

22

Readme

Upsite

NPM Version Build Status Support Chat

Upsite lets you start a local server without any configuration.

npx upsite

That’s it. Your website is up on HTTP and HTTPs. Need a trusted certificate?

npx upsite --trust

That’s it. Your HTTPs certificate is trusted and you won’t need to run this command again. Need a custom port?

npx upsite --port 8080

That’s it. Your website is up on HTTP and HTTPs at port 8080. Need Babel, PostCSS, or pHTML?

npx upsite --config standard

That’s it. HTML, CSS, and JS files in the public directory are automatically transformed. Need to change that directory?

npx update --dir whatever

That’s it. Your files are served from the whatever directory. Need your own rules?

npx update --config whatever 

That’s it. You control the configuration from whatever.config.js.

module.exports = {
  dir: 'www',
  uses: [
    // use js/jsx files with babel
    {
      extensions: ['js', 'jsx'],
      require: {
        babel: '@babel/core'
      },
      config: {
        plugins: [
          ['@babel/plugin-transform-react-jsx', {
            pragma: '$',
            pragmaFrag: '$',
            useBuiltIns: true
          }]
        ]
      },
      // transform jsx files with babel
      write: (use, stats, opts) => use.require.babel.transformAsync(
        stats.source,
        {
          ...use.config,
          babelrc: false,
          filename: stats.pathname
        }
      ).then(
        result => result.code
      )
    },
    // use svg files with svgo
		{
			extensions: ['svg'],
			require: {
				svgo: 'svgo'
			},
			// use package.json[svgo], .svgorc, .svgorc.json, .svgorc.yaml, .svgorc.yml, .svgorc.js, svgo.config.js
			config: (use) => use.readConfig('svgo'),
			// transform svg files with svgo
			write: (use, stats) => new use.require.svgo().optimize(
				stats.source,
				{
					...use.config,
					path: stats.filepath
				}
			).then(
				result => result.data
			)
		}
  ]
};

Upsite automatically spins up a server and lets you start writing to files. The server includes a self-signed SSL certificate which can be trusted. Upsite creates a package.json file and a public folder with HTML, CSS, and JS files inside of it to get you started, but these can be changed as well.