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

@errio/cli

v0.1.0

Published

Errio command-line tools

Readme

@errio/cli

Command-line tooling for Errio. The first command uploads private Node/Webpack source maps so the dashboard and remediation worker can resolve generated stack frames without storing source code.

Upload source maps

Create a dedicated project API key with the write:source_maps scope, then run this in CI after the production bundle is built and before build artifacts are deleted:

export ERRIO_SOURCEMAP_API_KEY='ak_...'
export ERRIO_ENDPOINT='https://errio.mosaicwellness.in'
export ERRIO_RELEASE="${GIT_SHA}"

npx @errio/cli sourcemaps upload \
  --bundle-dir apps/aria-service/dist \
  --repo mosaic-wellness/aria \
  --commit "${GIT_SHA}" \
  --service aria-service \
  --environment production \
  --release "${ERRIO_RELEASE}"

Set the same ERRIO_RELEASE, ERRIO_SERVICE_NAME, and ERRIO_ENVIRONMENT on the running application. In slim/container images without .git, also set ERRIO_REPO_FULL_NAME and ERRIO_COMMIT_SHA to the exact --repo and --commit values above. @errio/node adds that deployment identity to captured events.

The uploader accepts regular and sectioned v3 maps, uploads at most four files concurrently, and is safe to retry. It rejects:

  • inline or missing maps
  • maps without their generated .js, .cjs, or .mjs bundle
  • malformed, empty, non-v3, or partial artifact sets
  • more than 500 maps, 20 MiB per map, or 250 MiB per release

Any sourcesContent embedded by the bundler is removed recursively before the map is hashed, compressed, or uploaded; source remains in GitHub.

Webpack

Generate hidden external maps without sources:

const webpack = require('webpack');

module.exports = {
  devtool: false,
  plugins: [
    new webpack.SourceMapDevToolPlugin({
      filename: '[file].map',
      append: false,
      noSources: true,
    }),
  ],
};

esbuild

esbuild src/index.ts --bundle --platform=node --sourcemap=external --sources-content=false --outdir=dist