koa-fetchr

0.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i koa-fetchr

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • kudos