Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gjtorikian/task-lists-js
An implementation of the basic task list logic (in CoffeeScript)
https://github.com/gjtorikian/task-lists-js
Last synced: about 1 month ago
JSON representation
An implementation of the basic task list logic (in CoffeeScript)
- Host: GitHub
- URL: https://github.com/gjtorikian/task-lists-js
- Owner: gjtorikian
- License: mit
- Created: 2013-04-26T21:27:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-28T20:16:00.000Z (over 4 years ago)
- Last Synced: 2024-09-27T22:12:40.594Z (about 2 months ago)
- Language: HTML
- Size: 198 KB
- Stars: 3
- Watchers: 3
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Tasks Lists (JS)
Turns a GFM style task list into a series of checkboxes.
## Installation
```
npm install task-lists
```## Usage
```coffeescript
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, { disabled: false });
fs.writeFileSync("./markdown.html", contents, "utf8");
});
```