Moodlet

www.npmjs.com/package/moodlet

Overview

A small, fun tool for the terminal. Type mm happy, mm tired or mm panic, and it prints the mood as a big face drawn with text characters. It has no dependencies and needs no setup: npx moodlet happy runs it straight from npm.

Main Features

  • Nine moods: happy, sad, tired, angry, love, confused, excited, chill and stressed
  • Aliases: everyday words map to a mood, for example ok → chill, sleepy → tired, panic → stressed
  • mm --list shows every mood, mm --random picks one, mm --help shows how to use it
  • Short flags: -l, -r and -h
  • A clear error for an unknown mood, pointing to --list

Structures

  • 1 Repository
    • the npm package (Node.js)

Tech Stack & Libraries

LayerBuilt with
ToolNode.js 18+ · JavaScript modules · no dependencies
TestsNode's built-in test runner
Published onnpm

Architecture

Moodlet architecture diagram

Solid arrows are calls, and the answer comes back on the same line; dashed arrows are sent on their own.

UI Interfaces