[nodejs] Remove BOM from Google supported devices csv

2018-03-11 Thread Adi Lavi
Hi, I am writing a small module that downloads Google's list of supported devices as csv, but I get it with a BOM I struggle to remove. Here is my code snippet: // url = http://storage.googleapis.com/play_public/supported_devices.csv downloadFile: function(url, cb) { unirest.get(url)

[nodejs] Node.js Long running Task scenario

2018-03-11 Thread MrNode
*Create a mechanism to support a long running task where we can solve for the mentioned scenario:* A support user starts a baseline upload for an organization. The baseline upload had 10 rows in the CSV file uploaded, and the support user - right after clicking the “Start” button -