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);
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    6
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i koa-epost

Weekly Downloads

6

Version

0.0.3

License

MIT

Last publish

Collaborators

  • graczykr