When comparing purplecheerio-wave vs Koa, the Slant community recommends Koa for most people. In the question“What are the best Express.js alternatives?” Koa is ranked 1st while purplecheerio-wave is ranked 10th. 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.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Auto-generated Documentation
All the documentation for the services is auto-generated based on the configuration files and schema used to specify the services.
Pro Robust and scalable micro services platform
Quickly gets fully functional and secure micro-services started.
Pro Test harness is in built
All the web services specified in the configuration can be tested with an inbuilt harness.
Pro Inbuilt Security
All the web services can be configured with security options that include https
The location of the certificates are configurable.
Other forms of security like authentication can be specified.
Pro Schema Validation for parameters and data payload
The JSON Schema standard compatible input parameters and payloads can be specified and auto validated at run time.
Pro Configurable Route Specification
All routes can be specified in a configuration file and the corresponding classes can be implemented in separate files.
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 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.