These are the projects for the JavaScript Level 2 module in Learn JS the Hard Way.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import spectrum from "csv-spectrum";
|
|
import csv from "neat-csv";
|
|
|
|
spectrum(async (err, samples) => {
|
|
for(let sample of samples) {
|
|
const raw_csv = sample.csv.toString();
|
|
console.log("RAW CSV:\n", raw_csv);
|
|
|
|
const parsed = await csv(raw_csv);
|
|
console.log("PARSED:\n", parsed);
|
|
}
|
|
});
|
|
|