task-lists

An implementation of GFM task lists

npm install task-lists
2 downloads in the last day
54 downloads in the last week
201 downloads in the last month

Tasks Lists (JS)

Turns a GFM style task list into a series of checkboxes.

Installation

npm install task-lists

Usage

var roaster = require("roaster");
var taskLists = require("../src/index");
var fs = require("fs");

var options = {};
options.isFile = true;

roaster("./markdown.md", options, function(err, contents) {
    contents = taskLists(contents);
    fs.writeFileSync("./markdown.html", contents, "utf8");
});
npm loves you