MyList is a simple package that allows users to manage their daily tasks. With MyList, users can add tasks for different times of the day, mark tasks as completed, and remove tasks. This package provides a convenient way to organize and track daily activities.
To install MyList, you can use npm :
npm install schedule-list
To use MyList in your project, you can import the package and start managing your tasks:
`
const MyList = require('schedule-list');
// Add new task
MyList.newTask('monday', 'Morning task', 'Lunch task', 'Dinner task', 'Night task');
// Get tasks for a specific day
const mondayTasks = MyList.whatday('monday');
// Mark a task as completed
MyList.markTask('monday', 'Morning');
// Mark all tasks for a day as completed
MyList.markAll('monday');
// Remove a task from a day
MyList.removeTask('monday', 'Morning');
-
newTask(dayName, morning, lunch, dinner, night)
: Add a new task for a specific day. -
whatday(dayName)
: Get tasks for a specific day. -
markTask(dayName, task):
Mark a task as completed for a specific day. -
markAll(dayName):
Mark all tasks for a day as completed if all tasks are completed. -
removeTask(dayName, task)
: Remove a task from a specific day.
Contributions to MyList are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request on the GitHub repository.
This package is licensed under the ISC License. See the LICENSE file for more details.