Almost a year ago I saw a Node Js package that added some syntactic features into JavaScript to support asynchronous programming by writing code in synchronous style. It had a compiler that compiled the code into JavaScript asynchronous style.
Anyone knows of a package like this?
Are you thinking of IcedCoffeeScript?
You could also learn to use async's series
and parallel
functions and write more synchronous-looking asynchronous code yourself.
You may be thinking of kaffeine or streamline.js.