koa-async-etag

0.1.0 • Public • Published

Koa Async ETag

NPM version build status Test coverage David deps npm download

+/- the async version of koa-etag.

Installation

$ npm install --save koa-async-etag

Usage

import Koa from 'koa';
import eTag from 'koa-async-etag';

const app = new Koa();

app.use(eTag);

app.use(async (ctx, next) => {
  await next();
  ctx.body = 'Hello World';
});

app.listen(3000);

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i koa-async-etag

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • broucz