my-todolist-js
v1.1.0
Published
This module contain FUNCTION for api
Downloads
3
Readme
MY TO DO LIST
Installation
npm install my-todolist-js
Usage
For use my-todolist-js
var lib = require('my-todolist-js');
lib.ins({idCr: 1, idAs: 3, activity: "Wash the car" }); //idCreator, idAssignee
lib.del(1);
lib.completed(1) //set true
lib.notCompleted(1); //set false
lib.addUsers({id: 1, name: "Luca");
lib.todoUser(1)//list of id
lib.allTodo();
lib.allTrue();// all status true
lib.allFalse();//all status false
lib.allUsers();