Last active
August 2, 2017 14:06
-
-
Save BrianJVarley/10ae49ffc065a1b6c9b6d3d6897e0829 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Meteor } from 'meteor/meteor'; | |
import parse from 'csv-parse'; | |
import fs from 'fs'; | |
export const ParsingInterface = { | |
parseDataSync: function (filePath) { | |
const data = fs.readFile(path); | |
return parse(input, {columns: true}); | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment