0.0.2 • Published 9 years ago

koa-fetchr v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

koa-fetchr

This is untested, but Fetchr will adding better tests that this library will use.

Installation

npm install koa-fetchr

Usage

"use strict";
 
const koa = require('koa');
const bodyparser = require('koa-bodyparser');
const koaFetchr = require('koa-fetchr');
const fetchr = require('fetchr');
 
const app = koa();
 
app.use(bodyparser());
 
app.use(koaFetchr(fetchr));

// Register your fetchers
 
app.listen(3000);