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

taskninja

v1.1.8

Published

a simple CLI application with JS as a (To-Do Application)

Downloads

342

Readme

TaskNinja

Version: 1.1.7 Description: A simple CLI To-Do Application to manage your tasks directly from the terminal. Includes colored tables, search, soft delete with auto-expiration, undo, and interactive sort.


Table of Contents


Installation

From npm

TaskNinja is published on npm as taskninja. Install it globally to use the CLI commands from anywhere:

npm install -g taskninja

From Source

Clone the repository and install dependencies:

git clone <your-repo-url>
cd taskninja
npm install

Running the CLI

You can run the CLI using either node or the bin aliases:

# Using bin aliases
tn <command>
taskninja <command>
dotask <command>

# Using node
node index.js <command>

Commands

1. Add Task

Alias: a Description: Add a new task interactively.

tn a

Prompts:

  1. Task Title: Enter any text (cannot be empty).
  2. Task Status: Select from (todo, in-progress, done).
  3. Task Priority: Select from (low, medium, high).
  4. Due Date: Enter in YYYY-MM-DD (Defaults to today).
  5. Description: Optional text.

Add Task


2. List Tasks

Alias: ls Description: List all tasks, optionally filtered by status.

tn ls
tn ls --status todo

Behavior:

  • Displays tasks in a colored table.
  • Status colors: todo (blue), in-progress (yellow), done (green).
  • Priority colors: low (green), medium (yellow), high (red).

List Tasks


3. Update Task

Alias: up Description: Update an existing task by selecting its ID.

tn up

Steps:

  1. Select task by ID.
  2. Confirm which fields to change.
  3. Enter new values.

Update Task


4. Mark as Done

Alias: done Description: Quickly mark a specific task as done.

tn done

Mark Task As Done

Mark Task As Done


5. Delete Task

Alias: del Description: Soft delete a task by selecting its ID.

tn del

Behavior:

  • Task is moved to deleted-todos.json and kept for 60 seconds.

Delete Task


6. Undo Delete Task

Alias: un Description: Restore the last deleted task (if within 60 seconds).

tn un

Undo


7. Search Tasks

Alias: sr Description: Search tasks by keyword in title or description.

tn search --find "keyword"

Search Tasks


8. Sort Tasks

Alias: so Description: Sort tasks by due date, priority, or status.

tn so --by priority

Sort Tasks

Sort Tasks-2


Task Fields & Allowed Values

| Field | Allowed Values / Description | Requirement | | --- | --- | --- | | Title | Any non-empty string | Required | | Status | todo, in-progress, done | Required | | Priority | low, medium, high | Required | | Due Date | Date in YYYY-MM-DD format | Required | | Description | Any text providing task details | Optional |


New Features in Version 1.1.7

Smart Cancellation (Ctrl+C)

Operations can now be cancelled using the standard Ctrl+C shortcut. This provides a clean exit without overlapping text in the terminal, ensuring a professional user experience.

Auto-Delete & Expiration

  • Auto-Cleanup: The CLI automatically deletes todos.json or deleted-todos.json if they become empty to save space and keep the directory clean.
  • Timed Expiration: Deleted tasks are stored in deleted-todos.json for exactly 60 seconds. After this period, they are automatically purged to manage storage efficiently.

Tasks in todos.json

todos.json