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

todo-in-cli

v3.1.0

Published

A fast, minimal command‑line To‑Do manager written in TypeScript, compiled to Node.js. It lets you add, view, mark, and reset todos directly from your terminal. Todos are stored locally on your machine and automatically cleaned up after 24 hours.

Readme

Todo CLI

A fast, minimal command‑line To‑Do manager written in TypeScript, compiled to Node.js. It lets you add, view, mark, and reset todos directly from your terminal. Todos are stored locally on your machine and automatically cleaned up after 24 hours.

Features

  • View help panel-h, --help
  • Add tasks quickly-a, --add <title>
  • List tasks-v, --view shows ID, status, and title
  • Mark done by ID-m, --mark <id>
  • Reset all todos-r, --reset
  • Guidelines-g, --guidelines
  • Auto-expiry — tasks older than 24 hours are removed on view
  • Local storage — data saved under your home directory

How it works

Core CLI entrypoint: src/index.ts (compiled to dist/index.js). Options are defined using commander. The todo manager in src/utils/manager.ts:

  • Storage path: ${HOME}/.my-todo-cli/todos.json (created on first use)
  • IDs: auto-incremented, persisted across runs
  • Auto-cleanup: when you run --view, todos older than 24 hours are filtered out (clearOldTodos()), then saved back to disk
  • Data model: Todo interface in src/utils/todo.ts with id, title, createdOn, done
  • Guidelines: src/utils/guidelines.ts prints usage notes

Examples:

# Add tasks
todo -a "Read docs"
todo --add "Ship release"

# List tasks (applies 24h auto-cleanup)
todo -v

# Mark a task as done by ID
todo -m 2

# Reset (danger: clears all tasks and resets IDs)
todo -r

# Show guidelines
todo -g

Output:

YOUR TODOS:
ID 	 Status 	 Title

1 	   		 Read docs
2 	 ✔ 		 Ship release

Data and persistence

  • File: ${HOME}/.my-todo-cli/todos.json
  • Lifecycle: items older than 24 hours are removed when viewing (--view)
  • Reset: --reset empties the file and resets the in-memory ID counter to 1

Troubleshooting

  • No todos listed — items older than 24h are auto-removed on --view.
  • Where are my todos stored? — see ${HOME}/.my-todo-cli/todos.json.

License

MIT — see LICENSE.

Acknowledgements

Built with commander and Node.js. Feedback: https://x.com/drcsoul.