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

oh-my-todo

v0.0.4

Published

a CLI tool for todo

Readme

oh-my-todo

一个命令行的 TODO 工具

安装 [Install]

# npm
npm i oh-my-todo -g

# yarn
yarn global add oh-my-todo

# pnpm
pnpm i oh-my-todo -g

使用 [Usage]

添加一个待办事项

todo add <todoName>

例如:

$ todo add '完成 oh-my-todo 的文档'
✔︎ create successfully~

$ todo add '慢跑 30 分钟'
✔︎ create successfully~

这样我们就成功添加了两个待办

添加一个已完成状态的待办

todo add <taskName> -d

# or

todo add <taskName> --done

例如:

$ todo add '睡个好觉' -d
✔︎ create successfully~

显示所有待办事项

todo ls

例如:

$ todo ls
? 请选择想要操作的待办事项 (Use arrow keys)
❯ ⭕️ 01 - 完成 oh-my-todo 的文档
  ⭕️ 02 - 慢跑 30 分钟
  ✅ 03 - 睡个好觉

按 j 或 ↓ 可以向下选择待办

按 k 或 ↑ 可以向上选择待办

标记已完成

$ todo ls
? 请选择想要操作的待办事项 (Use arrow keys)
❯ ⭕️ 01 - 完成 oh-my-todo 的文档
  ⭕️ 02 - 慢跑 30 分钟
  ✅ 03 - 睡个好觉

选择待办后,按回车键进入操作模式。

$ todo ls
? 请选择想要操作的待办事项 ⭕️ 01 - 完成 oh-my-todo 的文档
? 请选择操作 (Use arrow keys)
❯ 标记已完成✅
  标记未完成⭕️
  删除待办事项🗑
  修改待办事项📝

然后选择 标记已完成✅ 按回车,就会将当前待办标记已完成。

$ todo ls
? 请选择想要操作的待办事项 (Use arrow keys)
❯ ✅ 01 - 完成 oh-my-todo 的文档
  ⭕️ 02 - 慢跑 30 分钟
  ✅ 03 - 睡个好觉

标记未完成

$ todo ls
? 请选择想要操作的待办事项
  ✅ 01 - 完成 oh-my-todo 的文档
  ⭕️ 02 - 慢跑 30 分钟
❯ ✅ 03 - 睡个好觉

选择待办后,进入操作模式

% todo ls
? 请选择想要操作的待办事项 ✅ 03 - 睡个好觉
? 请选择操作
  标记已完成✅
❯ 标记未完成⭕️
  删除待办事项🗑
  修改待办事项📝

然后选择 标记未完成⭕,按回车,将该待办标记为未完成。

$ todo ls
? 请选择想要操作的待办事项 (Use arrow keys)
❯ ✅ 01 - 完成 oh-my-todo 的文档
  ⭕️ 02 - 慢跑 30 分钟
  ⭕️ 03 - 睡个好觉

删除待办

$ todo ls
? 请选择想要操作的待办事项
  ✅ 01 - 完成 oh-my-todo 的文档
❯ ⭕️ 02 - 慢跑 30 分钟
  ⭕️ 03 - 睡个好觉

选择待办后,进入操作模式

$ todo ls
? 请选择想要操作的待办事项 ⭕️ 02 - 慢跑 30 分钟
? 请选择操作
  标记已完成✅
  标记未完成⭕️
❯ 删除待办事项🗑
  修改待办事项📝

然后选择 删除待办事项🗑,按回车,将该条待办删除。

% todo ls
? 请选择想要操作的待办事项 (Use arrow keys)
❯ ✅ 01 - 完成 oh-my-todo 的文档
  ⭕️ 02 - 睡个好觉

修改待办

% todo ls
? 请选择想要操作的待办事项 (Use arrow keys)
❯ ✅ 01 - 完成 oh-my-todo 的文档
  ⭕️ 02 - 睡个好觉

选择待办后,按回车进入操作模式。

$ todo ls
? 请选择想要操作的待办事项 ✅ 01 - 完成 oh-my-todo 的文档
? 请选择操作
  标记已完成✅
  标记未完成⭕️
  删除待办事项🗑
❯ 修改待办事项📝

选择 修改待办事项📝,按回车,进入输入模式,此时可以输入新待办的内容。

$ todo ls
? 请选择想要操作的待办事项 ✅ 01 - 完成 oh-my-todo 的文档
? 请选择操作 修改待办事项📝
? 请输入待办事项 完成 oh-my-todo 的文档 v1.0
📝 修改待办事项成功~

清除所有待办

todo clear

例如:

$ todo clear
🎉 clear successfully~