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

error-central

v0.0.23

Published

Montitor stderr for logs.

Downloads

65

Readme

ec-monitor: Error central montitoring

Typescript package that will montitor the log files generated by ec-bash and attempt to detect any error messages that appear there. Currently detecting errors in Python, Node, Bash, and Git. An error message is something like Python's NameError: name 'q' is not defined.

When an error message is found:

  1. The error is sent to the ec server. (Currently very rudimentary.)
  2. An javascript event is emitted. When used with the vscode-extension, this event is used to trigger display of error information in VS Code.

Installing

Install with npm install -g error-central. It will ask you about your shell, and confirm changes to your startup script.

Example:

$ npm install -g error-central

> [email protected] uninstall /usr/local/lib/node_modules/error-central
> node ./out/uninstall.js

/usr/local/bin/error-central -> /usr/local/lib/node_modules/error-central/bin/error-central.js

> [email protected] postinstall /usr/local/lib/node_modules/error-central
> node ./out/postinstall.js

🐛 Thank you for installing Error Central! 🐛

To capture errors, we need to install a script that runs each session.
? Which shell do you use ? bash
? We will add error-central monitoring to ~/.bash_profile, is it ok ? Yes
=> Added error-central source line in "~/.bash_profile" file

      => Error-central source lines added to "~/.bash_profile" for ec package.

      To enable in this session, run:
          source ~/.bash_profile

+ [email protected]
updated 1 package in 30.496s
$

It will be started by default in new sessions. Activate it in the current session like this:

$source ~/.bash_profile

🐛 ec: Saving stderr to file: "~/.ec/sessions/1033.txt"
$

Then you can test it like this:

$ python
Python 3.7.4 (default, Jul  9 2019, 18:13:23)
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> x=4+q
>>> Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'q' is not defined
>>>

See if your error appears on the debugging page here: http://wanderingstan.com/ec/ec-dump.php

Development

We reccomend using the VS Code workspace ./ec.code-workspace which allows you to work on all EC components simultaneously.