collaborne-tasks-scheduler
v2.1.3
Published
A time-based scheduler for tasks
Downloads
22
Readme
tasks-scheduler
A time-based scheduler for tasks.
Install
npm install --save collaborne-tasks-scheduler
Usage
const tasksPlanner = require('collaborne-tasks-scheduler');
const scheduleResponse = tasksPlanner.schedule({
start: '2018-01-01',
end: '2018-06-30',
timeAllocation: 0.5,
tasks
});
An example of scheduleResponse
would then be:
{
"deadlines": {
"http://collaborne.com/schema/1.0/tasks/sensing": "2018-01-16",
"http://collaborne.com/schema/1.0/tasks/visioning": "2018-01-24",
"http://collaborne.com/schema/1.0/tasks/prototyping": "2018-01-31",
"http://collaborne.com/schema/1.0/tasks/scaling": "2018-02-08"
},
"end": "2018-02-08",
"nrNormDays": 14,
"nrRealDays": 28,
"start": "2018-01-01",
"timeAllocation": 0.5
}