slet-basecontroller

basecontroller

Usage no npm install needed!

<script type="module">
  import sletBasecontroller from 'https://cdn.skypack.dev/slet-basecontroller';
</script>

README

BaseController

NPM version Build codecov.io js-standard-style

获取请求参数的3种方式

  • this.body
  • this.query
  • this.params

api

  • this.write()
  • this.end()