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

pomotracker

v0.1.1

Published

Cross-platform Pomodoro timer CLI. No dependencies, just Node.js.

Readme

pomotracker

Cross-platform Pomodoro timer CLI. Zero dependencies, Node.js >= 18.

pomo start returns immediately. The session runs in a detached worker. When time is up you get a beep and a desktop notification. Sessions are logged to ~/.pomo/sessions.jsonl.

Install

npm install -g pomotracker

Or without installing:

npx pomotracker start 25

Usage

pomo start [duration] [--label "..."] [--force]
pomo break [duration] [--label "..."] [--force]
pomo stop
pomo status [--json]
pomo stats [day|week|month|all] [--json]
pomo log [--limit N] [--today] [--type focus|break] [--json]
pomo config get|set|list|reset [key] [value]
pomo completions <bash|zsh|fish>
pomo --version
pomo --help

Duration

A bare number is minutes. With a suffix: 90s, 25m, 1h, 1h30m. Maximum: 24h. To pass a value that starts with a dash, put -- first:

pomo start -- -5m

Examples

pomo start                          # focus, default 25m
pomo start 1h30m --label "deep work"
pomo break 10
pomo status                         # 00:24 left (of 01:30) - deep work
pomo stats week
pomo log -n 5
pomo config set focusMinutes 50
pomo completions bash > ~/.pomo-completion.bash

Config

~/.pomo/config.json. Defaults:

| Key | Default | Notes | | ---------------- | ------- | --------------------------------------- | | focusMinutes | 25 | default focus length | | breakMinutes | 5 | default break length | | longBreakMinutes | 15 | reserved (long breaks: not implemented) | | longBreakEvery | 4 | reserved | | autoBreak | false | reserved (auto-start break: not impl.) | | notify | true | desktop notification on completion | | beep | true | console beep on completion | | label | "" | default label applied to new sessions |

pomo config set <key> <value> validates the value (positive number for duration keys, true/false for booleans) and writes it back.

Data files

| File | Purpose | | ----------------------------- | -------------------------------------- | | ~/.pomo/config.json | config | | ~/.pomo/active.json | current session (deleted on finish) | | ~/.pomo/sessions.jsonl | one JSON record per session |

Notifications

| OS | Beep | Notification | | ------- | ---------------------------- | -------------------------------------------------------- | | Windows | PowerShell [Console]::Beep | BurntToast if installed, else balloon-tip fallback | | macOS | terminal bell | osascript display notification | | Linux | terminal bell | notify-send (libnotify) |

On Windows, to get rich toasts: Install-Module -Scope CurrentUser BurntToast in an elevated PowerShell (one-time).

Background worker

pomo start writes active.json, spawns bin/pomo-worker.mjs detached, and exits. The worker sleeps until the deadline, writes the session record, deletes active.json, and fires the beep + notification.

Any subsequent pomo command reconciles active.json. If the worker is gone and the deadline has passed, the session is logged as completed. If the worker is gone but the deadline is still in the future, the session is logged as stopped. This handles system reboots, kills, and pomo stop.

pomo stop deletes active.json and kills the worker.

Development

git clone https://github.com/wowori/pomotracker
cd pomo
npm test

License

MIT