Skip to content

increments/tasklist.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tasklist.js

Converts tasklist in Markdown.

Install

# As an npm package
npm install increments/tasklist.js

# As a bower package
bower install increments/tasklist.js

# As a source code for browser
<script src="http://increments.github.io/tasklist.js/dist/tasklist.min.js"></script>

API

See /docs/tasklist.md.

tasklist.convert(
  '- [ ] foo\n' +
  '- [ ] bar\n' +
  '- [ ] baz',
  2,
  true
)
// results in:
// - [ ] foo
// - [x] bar
// - [ ] baz

Development

npm is pre-required for development.

# Install dependent modules for development
make prepare

# Run tests
make test

# Run lint checker
make lint

# Update docs
make doc

# Update distribution
make build

# Run all above tasks
make

About

Converts tasklist in Markdown.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •