Siren invader allows the division and indexing of a typed CSV file (educational project)
Use npm
Use the package manager npm to install Siren invader.
npm install
node divider.js
node indexation.js
fs.read function return promise
fs.read function return promise and create file at the end
Function who calculate all starts pointsin the file Theb start in asyncronous way, all the dividers processus
Create worker
return Promise after waiting
check if their is free slots avaible or if the program is paused
Send to main thread every line with readline
Send to main thread every line with fs.read and calculated inside the buffer