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

simple-todos

v1.0.8

Published

A React + Ink interactive CLI todo list manager

Readme

simple-todos

A React + Ink interactive CLI todo list manager with a Claude Code-style REPL interface.

Todo List (2 tasks)

  [t_1a2b3c]  ☐  Buy groceries       (5/11/2026)
  [t_3d4e5f]  ☑  Write report        (5/10/2026)

1/2 completed

✓ Added: Buy groceries

> █

Install

npm install -g simple-todos

Or run directly:

npx simple-todos

Usage

Start the interactive prompt:

todo

Commands

| Command | Example | Description | | ------------------- | -------------- | -------------------------------------------------------------- | | add <description> | add Buy milk | Add a new task | | list | list | Show all tasks (default view), list done=true show all tasks | | done <id> | done t_1a2b | Toggle task completion | | del <id> | del t_1a2b | Delete a task | | clear | clear | Remove all completed tasks | | help | help | Show command help | | exit / quit | exit | Exit the program |

Ctrl+C or Ctrl+D also exits.

Interactive Features

  • Real-time list updates after every command
  • Color-coded status: green for completed, yellow for pending
  • Visual cursor indicator in the input prompt
  • Task IDs are shown truncated (e.g. t_1a2b3c) for easy reference

Data Storage

Tasks are stored in ~/.simple-todos/todos.json as plain JSON. Key safeguards:

  • Atomic writes — data is written to a temp file first, then atomically renamed
  • Auto-backup — the previous state is saved to todos.json.bak before each write
  • Corruption recovery — if todos.json is corrupted, the tool attempts recovery from the backup; if both are damaged, it starts fresh rather than crashing
  • Secure directory — created with 0o700 permissions

Development

# Clone and install
git clone <repo-url>
cd simple-todos
npm install

# Run in dev mode (tsx, no build needed)
npm run dev

# Build for production
npm run build

# Run compiled version
npm start

Project Structure

src/
├── index.tsx              # CLI entry point with shebang
├── types.ts               # Todo interface
├── utils.ts               # ID generation helpers
├── store.ts               # JSON file persistence (read/write/backup)
├── commands.ts             # Command dispatch and processing
└── components/
    ├── App.tsx             # Interactive REPL loop
    ├── Prompt.tsx          # Input prompt with cursor
    ├── TodoList.tsx        # Task list rendering
    └── TodoItem.tsx        # Single task line rendering

Release

# Bump version
npm version patch   # or minor / major

# Push tags to trigger the publish workflow
git push --follow-tags

The publish workflow automatically builds and publishes to npm when a v* tag is pushed.

Before your first publish, add your npm access token to GitHub Secrets:

Settings → Secrets and variables → Actions → New repository secret
Name: NPM_TOKEN
Value: <your npm token>

License

MIT