Todo.txt JavaScript parser

Michael Roufa - 21 August 2014

My current todo list is a simple text file using the popular todo.txt format. Along with the Android app, I’m able to keep track of my tasks in a simple format that I can access on the go.

Lately, I’ve been hard at work on a new project that I hope to announce in the not-too-distant future. The project involves showing todos in a Chrome extension, and I wanted to be able to support todo.txt files as well as plain old text files.

This isn’t the only Javascript implementation of the spec, but it was such a nice, contained project that it seemed like a good chance to reinvent the wheel. The result is pure JavaScript using lessons gleaned from the classic JavaScript: The Good Parts, and was developed TDD-style using Jasmine and Karma. Enjoy!

todo-txt-js on GitHub