Hacker News new | ask | show | jobs
by EvanPlaice 3740 days ago
The funny thing is, very capable libraries already exist to handle CSV parsing.

I know because I authored jquery-csv, te first RFC complete CSV parser implementation in vanilla JS.

The transform is ridiculously simple and data can be fully loaded and processed client-side using the HTML5 File API.

As soon as JS gets the :: function bind operator I plan to reimplement it as a pure async function.

1 comments

Wow, I wish I had found your library when I wrote this. Looks like you published it around the same time I wrote it. I especially like the idea of client-side loading using the HTML5 file API. Things to consider for the future.
Unfortunately. I made the mistake of hosting it on Google Code rather than GitHub. Everything has since been moved and it's gradually gaining traction again.

The HTML5 part was very appealing to me because I wanted to build a client-side tool to load/save/edit database imports/exports.

It unlocks a lot of potential for fully-featured client-side applications that work more like desktop apps.

The bad part about it is, browser vendors, specifically MS, have been dragging their feet when it comes to fully supporting the File APIs.