@goa/koa is the Koa web-sever compiled and optimised with Google Closure Compiler so that it has only 1 dependency (
mime-db, for easy access to upgrades). The types are written as JSDoc and don't require installing typings. The aim of this project is to demonstrate how to modernise the old-school NPM package making, including starting to use import/export statements without Babel, restoring to pure JSDoc without TypeScript, and compiling the code into the single executable using the compiler, and testing the code with Zoroaster testing framework which is twice as fast and weighs 500KB against 50MB compared with Jest (as used in the original repository).
|@Goa/Koa Source Code Is ~2000 Lines Of Code|
|Yarn Install||NPM Install|
Table Of Contents
The package is available by importing its default function:
Creates a new app.
The Koa web server by its authors.
|© Art Deco for Idio 2019||Tech Nation Visa Sucks|