@zcorky/koa-helmet
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

koa-helmet

NPM version Coverage Status Dependencies Build Status license issues

helmet for Koa, wrapper with helmet.

Install

$ npm install @zcorky/koa-helmet

Usage

// See more in test
import helmet from '@zcorky/koa-helmet';

import * as Koa from 'koa';
const app = new Koa();

app.use(helmet());

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

app.listen(8000, '0.0.0.0', () => {
  console.log('koa server start at port: 8000');
});

Related

Readme

Keywords

none

Package Sidebar

Install

npm i @zcorky/koa-helmet

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

11.5 kB

Total Files

7

Last publish

Collaborators

  • uniquecolesmith