2.0.0 • Published 5 years ago

todolist_1 v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

toDoList

installation

npm install npm i todolist_1

Usage

A simple npm project, todolist_1!

var toDoList = require('todolist_1');
toDoList.addToDo("a simple to do ", "fare la barba", "caio") // create one toDo
console.log(toDoList.deleteToDo(1)); // delete a toDo by id 
console.log(toDoList.changeStatus(0, true)); // modify status of one toDo by id
console.log(toDoList.getListByUser("sempronio")); // search toDoList by author
console.log(toDoList.getListByStatus("oh come")); //find the toDoElement with status
console.log(toDoList.getToDoList()); //return all toDo
console.log(toDoList.getUsers()); //return all users
toDoList.reset(); // reset the list
2.0.0

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago