Author Archives: Bruno Jouhier

TJ leaving node.js

I just saw the news. TJ Holowaychuk, one of node’s important and respected contributors is leaving node.js for Go. Of course, this is not good news, especially for people like me who have invested a lot into node.js and have … Continue reading

Posted in Uncategorized | Tagged | 2 Comments

Easy node.js streams

JavaScript is a great playground for experimentation. After ES6 generators and Galaxy I went back to one of my pet topics: streams. The simple streams API that we have been using in our product works really well but I was … Continue reading

Posted in Uncategorized | 2 Comments

Bringing async/await to life in JavaScript

My dream has come true this week. I can now write clean asynchronous code in JavaScript: no callbacks, no intrusive control flow library, no ugly preprocessor. Just plain JavaScript! This is made possible by a new feature of JavaScript called … Continue reading

Posted in Asynchronous JavaScript, Uncategorized | 41 Comments

Harmony Generators in streamline.js

Harmony generators have landed in a node.js fork this week. I couldn’t resist, I had to give them a try. Getting started If you want to try them, that’s easy. First, build and install node from Andy Wingo’s fork: $ … Continue reading

Posted in Asynchronous JavaScript, Uncategorized | Leave a comment

Node’s social pariahs

I learned a new expression on the node mailing list this week: social pariahs. The node.js police is after them, and it looks like I’m on the black list. I should probably take it easy and just “roll in my … Continue reading

Posted in Uncategorized | 5 Comments

Node.js stream API: events or callbacks?

Last year, I wrote a blog post about events and node streams. In this post, I proposed an alternative API for streams: callback-oriented rather than event-oriented. For readable streams, the proposal was to have a simple read(cb) call, where cb … Continue reading

Posted in Asynchronous JavaScript, Uncategorized | 6 Comments

node.js for the rest of us

Simple things should be simple. Complex things should be possible. Alan Kay I published streamline.js 18 months ago but did not write a tutorial. I just took the time to do it. The tutorial implements a simple search aggregator application. … Continue reading

Posted in Asynchronous JavaScript, Uncategorized | 3 Comments