0.1.0 • Published 1 year ago

todoo v0.1.0

Weekly downloads
10
License
-
Repository
github
Last release
1 year ago

todoo

Mark your todo list

Usage

As lib module:

var TodoStore = require('todoo')
var store = new TodoStore('./todos.json')
store.add({
  title: 'Go to bed',
  catagory: 'Health'
})
var item = store.fetch({
  catagory: 'Health'
})
store.update({
  catagory: 'Health'
}, {
  checked: true
})
  • fetch(sel)
  • add(data)
  • remove(sel)
  • update(sel, diff)

As Cli tool:

$ todoo fetch
>>> [ { id: 1,
    title: 'Hello',
    checked: false,
    created_at: '2014-11-30 00:40:44' },
  { id: 2,
    title: 'Hello1',
    checked: false,
    created_at: '2014-11-30 00:40:53' } ]
$ todoo remove 2
$ todoo checked 1
$ todoo add "Go to bed"
0.1.0

1 year ago

0.0.2

9 years ago

0.0.1

9 years ago