Node CSV version 0.2.7

Node CSV version 0.2.7

By David WORMS

Jul 9, 2013

Categories: Hack | Tags: CoffeeScript, CSV, Node.js, Pipeline

While I’m release version 0.2.7 of the CSV parser for Node.js, I stop here to drop a few lines of what has made into this release.

We are now using the latest CoffeeScript, which is version 1.4.0. Migration was as easy as installing it. Documentation now use the each globing functionnalities. Some documentations have been corrected, improvided. Thanks to Chris Khoo for his help. The property “quoted” in the parser was renamed “quoting”. Test are overall easier to read and faster to run now that we provided CSV as inline text instead of referencing files. Line breaks were renamed “rowDelilimiter” and have been through important improvement. They may now be any text. Finally, the parser.prototype.parseand the transformer.prototype.transformfunctions were renamed write.

That’s pretty much for this release. The next one will focus on applying backpressure to the transform callback when run asynchronously. Asynchronously transformation is a feature we introduced not too long ago and it seems to be quite popular. For this reason, it deserves a proper implementation. Seems like it will borrow a lot of concepts from my lovely each library. Surely the api will be similar with a “parallel” function or property. I’m also thinking of directly using the module but that will introduce a first dependency and it isn’t as easy as it seems. The all feature is quite hard to implement so it might take a bit of time before I find the time to finalize it.

Canada - Morocco - France

International locations

10 rue de la Kasbah
2393 Rabbat
Canada

We are a team of Open Source enthusiasts doing consulting in Big Data, Cloud, DevOps, Data Engineering, Data Science…

We provide our customers with accurate insights on how to leverage technologies to convert their use cases to projects in production, how to reduce their costs and increase the time to market.

If you enjoy reading our publications and have an interest in what we do, contact us and we will be thrilled to cooperate with you.