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

node-roast

v1.5.1

Published

Node-Roast is here to remind you that some people just shouldn't write code.

Readme

Node-Roast

Node-Roast is a Node.js module that brings humor to your coding errors. Inspired by node-mommy and cargo-mommy, it delivers roasts instead of positive affirmations, roasting you for mistakes, bugs, and issues that appear in your code. Whether you're facing a ReferenceError, a SyntaxError, or just a well-deserved roasting for your general coding misfortune, Node-Roast has got your back with some humor to ease the pain!

Features

  • Success Roasts: Even when your code works, it gets a roast to remind you that it’s probably a fluke.
  • Error Roasts: Every error comes with a sassy response to let you know that maybe you should rethink your life choices (and your code).
  • Custom Roasts for Common Errors: Includes specific roasts for undefined, null, syntax, and reference errors.
  • Graceful Exit Messages: When you terminate your process, we roast you on your way out. Because why not?

Installation

To use Node-Roast, you must have Node.js installed. Then, install it via npm:

npm install node-roast

Usage

Once installed, just require Node-Roast in your code, and it will automatically replace console.log() and console.error() with the roasting versions.

require('node-roast');

Now, every time you use console.log() or console.error(), you'll get a roast! For example:

console.log("Your code works!");
// Output: [SUCCESS] "Wow, it worked! Accident or actual skill? The world may never know."

console.error("Something went wrong!");
// Output: [ERROR] "Oops! Looks like your code just took a vacation."

Unhandled Rejections & Uncaught Exceptions

The module also handles unhandled promise rejections and uncaught exceptions with a roast message. It's the perfect way to deal with those pesky runtime errors!

process.on("unhandledRejection", (reason) => {
  console.error("Unhandled rejection: " + reason);
});

This will automatically log test messages with success and error roasts.

Exit Messages

When you terminate the process using Ctrl+C or other methods, you'll be roasted:

SIGINT: Process interrupted! Quitting like a true quitter...
SIGTERM: Process terminated! Hope your code wasn’t too attached.

Conclusion

Node-Roast is a fun, humorous way to bring some light into the usually painful world of debugging. Next time your code throws an error or works perfectly, at least you'll get a good laugh! Enjoy the roasts, and maybe learn something along the way.