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

@timmy6942025/cli-timer

v1.1.18

Published

Simple customizable terminal timer and stopwatch

Readme

CLI Timer

A simple and customizable, easy to setup/use timer and stopwatch that runs in your terminal.

Install

Install globally (this is all you need):

npm i -g @timmy6942025/cli-timer
# or
bun add -g @timmy6942025/cli-timer

Then use commands anywhere:

timer 5 min
stopwatch

Usage

Stopwatch

To use the stopwatch, simply run the following command:

stopwatch

Timer

To use the timer, run the following command with the desired duration:

timer <number> <hr/hrs/min/sec> [<number> <hr/hrs/min/sec> ...]

For example:

timer 5 min 2 sec

By default, timer and stopwatch output is centered in the terminal.

Update CLI Timer

To update globally and verify you are on latest:

timer update

timer update auto-detects whether your current install came from Bun, npm, or pnpm, runs the matching global update command, then checks your installed version against npm latest.

Controls

  • p or Spacebar: Pause/Resume
  • r: Restart
  • f: Random style/font
  • q, e or Ctrl+C: Exit

Font Styles

You can view and set the ASCII font style used for the timer and stopwatch display.

To list all available fonts:

timer style

This is instant and lists all figlet fonts. timer style --all is supported as an explicit alias.

To list only timer-compatible fonts (fonts that render 01:23:45 visibly):

timer style --compatible

To set a random font:

timer style random

To set your preferred font:

timer style <font>

Replace <font> with any font name from the list shown by timer style. If a font is missing native timer digits, CLI Timer now substitutes close glyphs so the display stays stylized instead of falling back to plain text.

Settings UI

Open interactive settings UI:

timer settings

timer settings ships with prebuilt Bubble Tea binaries for:

  • Linux x64 / arm64
  • macOS x64 / arm64
  • Windows x64 / arm64

If your platform is unsupported, it falls back to running the Go source (go run) when Go is installed.

This launches a Bubble Tea based screen where you can change:

  • Font
  • Center display
  • Show header
  • Show controls
  • Tick rate (50-1000 ms)
  • Completion message
  • System notification on completion (default On)
  • Completion sound/alarm on completion (default Off)
  • Pause key / pause alt key
  • Restart key
  • Style key
  • Exit key / exit alt key

When completion sound/alarm is enabled, it plays 5 terminal bell beeps.

Controls in settings UI:

  • Enter: select/toggle
  • Ctrl+S: save and exit
  • /: filter fonts in font picker
  • /: filter keys in key picker
  • Esc/q: back/cancel

Note for macOS: If system notifications are inconsistent with built-in AppleScript notifications, install terminal-notifier (brew install terminal-notifier) for improved reliability.

Notification notes by platform:

  • Windows: notifications depend on OS notification permissions and whether your desktop session allows toasts/balloons.
  • Linux: notifications require a running desktop notification daemon (notify-send talks to that daemon over D-Bus).