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 🙏

© 2025 – Pkg Stats / Ryan Hefner

node-mommy

v1.7.0

Published

Mommy's here to help you with node~

Downloads

60

Readme

node-mommy

Mommy’s here to support you when you're running Node~ ❤️
Let node-mommy brighten your logs and error messages – because mommy knows how amazing you are~ 💞


Installation

Install node-mommy with npm:

npm install node-mommy

Then, in your application, import and activate it:

const mommy = require('node-mommy');

From now on, all your console.log and console.error calls will be replaced with adorable messages from mommy!


Usage

Once node-mommy is required, it intercepts all console messages and swaps them out with heartwarming messages. For example:

Before:

console.log("Processing your data...");
console.error("An error occurred!");

After requiring node-mommy, you might see messages like:

  • "Processing your data... mommy knows you're doing amazing, little girl~ ❤️"
  • "An error occurred! Don't worry, mommy believes in you even when things go wrong!"

Fetching Mommy's Responses

You can now also fetch mommy's responses from your console.log/console.error commands. This can be useful if you want to display the messages in a custom interface or log them elsewhere. For example:

// Code snip from kieee's control panel
const mommyResponse = console.log(message);
mainWindow.webContents.send('print-log', `${message.trim()}\n${mommyResponse}`, idname);

Simply run your Node.js application as you normally would, and let node-mommy do the rest!


Configuration

Mommy personalizes her messages using the following environment variables. All of these options can take a / separated list, and mommy will randomly select one for each message:

  • NODE_MOMMY_LITTLE
    What mommy should call you.
    Default: "girl"

  • NODE_MOMMY_PRONOUNS
    Which pronouns mommy uses for herself.
    Default: "her"

  • NODE_MOMMY_ROLES
    The role mommy will have.
    Default: "mommy"

  • NODE_MOMMY_EMOTES
    The emotes mommy will decorate her messages with.
    Default: "❤️/💖/💗/💓/💞"

  • NODE_MOMMY_MOODS
    The set of responses mommy can use (possible values include "friendly" "chill" or "ominous").
    Default: "chill"

Mommy also supports additional variables for controlling the frequency of her messages:

  • NODE_MOMMYS_ATTENTION
    The number of console.log messages that can pass before mommy sends another supportive message.
    Default: 1

  • NODE_MOMMYS_PATIENCE
    The number of console.error messages that can pass before mommy chimes in.
    Default: 1


Fallback to cargo-mommy Settings

If you have cargo-mommy installed and its environment variables are set, node-mommy will use those configurations when the corresponding NODE_MOMMY variables are not defined. For example, if NODE_MOMMY_LITTLE isn't set but CARGO_MOMMYS_LITTLE is, then mommy will call you the value set in CARGO_MOMMYS_LITTLE.


Licensing

node-mommy is licensed under the GNU General Public License version 3 (GPLv3). Mommy loves freedom, and so do we~ ❤️


Have Fun!

Let node-mommy sprinkle your logs with love and support – because you deserve nothing less than all the care in the world!