1.0.7 • Published 6 years ago
ykd-koa1-generator v1.0.7
koa1 application generator.
Description
The purpose of the package is making koa1 application easier for you.I was inspired by the another package named express-generator which can generate express application quickly.As for the version of node,i can not use the koa2 to run on the node 4.6.So i find a compromise not only i can use koa but also the project can be run on the low version of node.At last but not least,i hope you will enjoy it.
Installation
$ npm install -g ykd-koa1-generator
Quick Start
Create the app:
$ mkdir hello-ykoa1
$ cd hello-ykoa1
$ ykoa1
Install dependencies:
$ npm install
Start your app at http://localhost:5223/
:
$ node app.js
Command Line Options
This generator can also be further configured with the following command line flags.
--git add .gitignore
-f, --force force on non-empty directory