generator-koa

A Koa generator for Yeoman

Usage no npm install needed!

<script type="module">
  import generatorKoa from 'https://cdn.skypack.dev/generator-koa';
</script>

README

generator-koa Build Status

A Koa generator for Yeoman.

.
├── controllers
│   └── messages.js
├── public
|   ├── scripts
|   └── styles
|       └── main.css    
├── test
|   └── routeSpec.js
├── views
|   ├── layout.html
|   └── list.html
├── .editorconfig
├── .jshintrc
├── app.js
└── package.json

Install

Install with npm.

$ npm install -g yo
$ npm install -g generator-koa

Make a new directory and cd into it:

$ mkdir new-project && cd $_

Finally, initiate the generator:

$ yo koa

Start

Requires Node.js >= v5.0.0

$ npm start

Test

$ npm test

See Koa Examples

License

MIT License @ Peter Vilja