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

npmserve

v0.0.3

Published

[![npm](https://img.shields.io/npm/v/npmserve.svg?maxAge=2592000)]()

Downloads

12

Readme

npmserve

npm

A replacement for npm, which allows clients to execute npm install on a remote server. This allows slow clients to offload the work of building node_modules and perform significantly faster installs.

server

The client provided in this repository communicates with an npmserve-server.

disclaimer

npmserve and npmserve-server are experimental projects. These tools should not be used for deploying production dependencies. The client/server model does not yet have authentication or authorization in place. This project also does not guarantee the integrity or security of dependencies installed from npm or distributed to clients. Please consider your own requirements and constraints before incorporating npmserve into your workflow.

implementation

The client/server model works by uploading the module's package.json contents. The server creates a build hash from the package.json, which is used to store, delete, and retrieve builds.

limitations

Currently, the server must be run on a machine with the same architecture as the clients. If this is not the case, calls to /npm/install may return node_modules archives that contain extensions compiled for the wrong architecture.

installation

npm install -g npmserve

For convenience, you might want to configure the NPMSERVE_ORIGIN environment variable in your .profile or .bashrc:

export NPMSERVE_ORIGIN=<your_server_url>

This will allow you to execute the commands as shown below, without having to specify the NPMSERVE_ORIGIN on each command.

usage

The commands consist of a list of commands analogous to actions a user takes when running standard npm:

npm install is replaced by:

npmserve install

rm -rf node_modules/* is replaced by:

npmserve remove

npm cache clean is replaced by:

npmserve cache clean

We also provide a command to print out the build hash and other information. This is useful for looking up your build in the npmserve-server web interface.

npmserve info

environment

This project relies on the following environment variables:

| name | type | default | description | | ---- | ---- | ------- | ----------- | | NPMSERVE_ORIGIN | string | | endpoint for the npmserve-server |