When comparing Total.js vs Koa, the Slant community recommends Koa for most people. In the question“What are the best node.js web frameworks?” Koa is ranked 5th while Total.js is ranked 7th. The most important reason people chose Koa is:
Using generators (a bleeding edge feature, even for Node.js) would clean up your code from the mess caused by all those callbacks; making your code more manageable.
Ranked in these QuestionsQuestion Ranking
Pros
Pro No dependencies
Which in other words means, a high performance solid core which provides you with a with a minimal (but stable) layer to build your app on.
Pro Websocket support
Up to date with Websocket RFC 6455.
Pro Automated compression
Minification and gzip compression is built in and automatic.
Pro Good documentation and examples
Often updated examples and well written documentation.
Pro Getting the things done efficiently without useless ceremony
Following and adding to Node.js the proven battle-tested paradigm implemented by Django, Laravel & ASP.NET MVC.
Pro Good support
Pro Really reactive community and developers on their Chat
Pro Working on all versions of the node.js
Pro Generator support from ground up
Using generators (a bleeding edge feature, even for Node.js) would clean up your code from the mess caused by all those callbacks; making your code more manageable.
Pro Extremely lightweight
Koa is very lightweight with just 550 lines of code.
Pro async/await keywords are supported and has transcended beyond generator functions
Generators functions are of course a huge plus, but at the time Koa team has transcended generations functions and shifted towards async/await style programming. It has made the Koa best framework available in the market.
Pro Development team has a proven track record
Koa is developed by the team behind a widely used node.js framework (express.js).
Pro Built for ES6
Cons
Con Developed only by one person
Framework is developed by only one person.
Con Paid support
Framework lacks any community, if you need support you are forced to buy support package from developer.
Con Best practices
This framework doesn't adhere to any best practices in software development.
Con Poor design
Framework is designed very poorly, autocomplete in IDEs don't work.
Con Poor documentation
Source code is very poorly documented, only available information is on the official website.
Con Prototype pollution
Con Node IDE support or Autocomplete
Con Poor performance
Con Community is relatively small
Con Not compatible with express style middleware
Koa uses generators which are not compatible with any other type of Node.js framework middleware.