0.2.1 • Published 4 years ago

hatcher v0.2.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Hatcher

🐣 Provides APIs by simple configuration.

  • Easy: All you need is define the data what you want
  • Agile: Just writing simple selector, API services built by one clik
  • Functional: Core function provided as Koa2 middleware

Installation

Hatcher requires node v7.6.0 or higher for ES2015 and async function support.

$ npm install --global hatcher

Alternatively, hatcher provides API which can be used directly in your Koa 2.x App.

$ npm install --save hatcher

Usage

const Koa = require('koa')
const hatcher = require('hatcher')

const app = new Koa()
const config = require('./config.js')

app.use(hatcher(config))
app.listen(2333)

Config

TODO

Thanks

License

MIT License © viko16