This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
@goa/koa with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
@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|
The package is available by importing its default function:
import Goa from '@goa/koa'
Creates a new app.
The Koa web server by its authors.
|© Art Deco for Idio 2019||Tech Nation Visa Sucks|