koa-epost

0.0.3 • Public • Published

Koa-Easy-Post

Simple Post Data Extraction for Koa

New in 0.0.3

Read data more efficiently.

Instead of a lengthy tutorial, have a look at the following example:

// Assume app to be a koa application instance

var post = require('koa-epost');

app.use(post);

app.use(function *(next) {
  this.body = 'Post data received: \n';
  this.body += JSON.stringify(this.post);
});

Package Sidebar

Install

npm i koa-epost

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • graczykr