1.0.2 • Published 6 years ago
todo_list_users v1.0.2
TODO LIST
Installation
npm install todo_list_users
Usage
For use todo list
var todo_list_users = require('todo_list_users'); // required file to this npm
getList //show todo list
getDoneList //show all done todos
addToList (json list --> { id:5,
id_assi:3,
id_creator:2,
action: "Send daily orders",
status: false })//add a todo
deleteTodo(2) //delete a todo (id)
setDone(2) //set a todo (id)
setNotDone(2); //Set to NotDone a todo (id)
showDone(true); //show completed todos
showNotDone(false); //show not completed todos
assigneeTodos(2); //show assignee Todos (id_assignee)
showCreatorTodos(2); //show creator Todos (id_creator)
showUser(3); //Show user todo (id user)