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 🙏

© 2024 – Pkg Stats / Ryan Hefner

todo-md

v0.0.10

Published

Manage your GitHub Flavored Markdown Task List from the command line

Downloads

18

Readme

todo-md Build Status NPM version Code Climate

![Gitter](https://badges.gitter.im/Join Chat.svg)

NPM

Description

Manage your GitHub Flavored Markdown Task List from the command line. A simple (but useful) example built using autocmdr.

Introduction

Todo-md is meant to be a dead simple text based task manager. There are many task managers out there. What makes todo-md different? todo-md is, first of all, markdown based. todo-md runs off the command line and the task list is stored in a simple markdown file. Text based tasks list are easy to manage as part of a git repository. Furthermore, the todo list is gfm compatible for easy viewing in github and gist. Simply check-in your todo.md file along with your source code and readme file. Also, like git and npm, todo-md by default works in the current working directory so each project can have it's own todo list.

I use todo-md all the time. I hope you find it useful as well. Feedback is welcome.

Installation

Install todo-md globally

$ npm install -g Hypercubed/todo-md

Autocomplete (optional)

Do one of the following to enable auto-completion in your shell.

  • Add completion helper to ~/.bashrc (or ~/.zshrc) todo completion >> ~/.bashrc
  • Add completion to current shell . <(todo completion)

Quick start

Creating a todo list is done simply by adding your first task. For example

$ todo "Learn to use task-md"

will create a todo.md file in the current directory containing a single line:

   - [ ] Learn to use task-md

Note that when adding tasks the add command is optional. You can also type todo add "Learn to use task-md".

To mark a task as done type

$ todo do 1

or undo

$ todo undo 1

To remove a task

$ todo rm 1

After each command you will see a list of your tasks along with line numbers. You can also get the list at anytime by typing

$ todo

Note that the command list is optional you may also type todo list.

Note that do, undo, and rm require an index while list and add the index is optional. With the exception of the add command this index can be a single line number (as displayed when running todo list) or a list of line numbers. Ranges may also be used. For example the following command will mark line 15,20, and 25-30 as done.

$ todo do 15,20,25-30

Adding the -g option flag to any command will set the working file to ~/todo/todo.md. Great for keeping a master todo list. Try using gistup to push to github gist for online task management:

cd ~/todo/todo.md
gistup --private -- todo.md

Usage

Usage: todo [options] [command]

Commands:

list [index]               Displays all (or specified) lines in todo list with line numbers
print [index]              Displays all (or specified) lines in todo list without line numbers (same as list --no-color --no-stats --no-line-numbers)
add <text_to_add> [index]  Adds text_to_add to your todo file on its own line at [index] or EOF if no index provided
do <index>                 Marks task as done
undo <index>               Marks task as not done
rm <index>                 Removes tasks
mv <from> <to>             Moves task <from> to <to>
status                     Shows the tasks status (total, done, pending)

Options:

-h, --help             Output usage information
-d, --debug            Enable debugger
-g, --global           Use global todo list (usually ~/todo/todo.md)
-N, --no-line-numbers  Disable line numbers
-C, --no-color         Disable line numbers
-S, --no-stats         Disable stats
-q, --quiet            Quiet mode
-V, --version          output the version number

Todo

See todo.md (managed using todo-md)

License

Copyright (c) 2013 Jayson Harshbarger Gittip donate button Paypal donate button

MIT License

Acknowledgments

Built using generator-commader and autocmdr.