Hacker News new | ask | show | jobs
Async/await for Node.js – my first OSS contribution. Feedback welcome!
1 points by yortus 4478 days ago
The project is here: https://github.com/yortus/node-async-await

Background: I was looking for a way to write node.js asynchronous code in a synchronous-looking style (ie like C#'s async/await). As an additional constraint, it couldn't be based on ES6 generators, because I write in TypeScript which doesn't yet support them. So I wrote this tiny module based on node-fibers. It has made my node.js code much more maintainable. I hope it helps someone else!