Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including todo with all npm packages installed. Try it out:

todo lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("todo/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

todo v1.1.0

Todos in the CLI like what.

Build Status



  todo: Todos in the CLI like what


    todo                     Print todos
    todo help                Lists the available commands
    todo add Go shopping     Create a new todo item
    todo ls                  Print all pending todo items
    todo ls @tag             Print todo items containing "@tag"
    todo ls ~@tag            Print todo items not containing "@tag"
    todo ls --all            Print completed and pending todo items
    todo ls --done           Print completed todo items
    todo check 1             Mark #1 as completed
    todo mv 1 42             Change the id of given todo
    todo undo 1              Revert #1 to pending
    todo rm 1                Remove #1 item
    todo clear               Destroy all todo items
    todo clear --done        Destroy all completed todo items
    todo renumber            Re-numbers all todos starting with 1

  Environment variables:

    TODO_FORMAT=pretty                Specify formatter (simple, pretty, mini) [default: simple]
    TODO_DB_PATH=~/Dropbox/todo.json  Specify DB path [default: ~/.todo-db.json]


npm install todo -g


MIT License

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free