Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

koa-attach

Koa-attach is a koa middleware for attaching node packages to koa context.

Installation

$ npm install koa-attach

Usage

  • As an array
var attach = require('koa-attach');
app.use(attach([ 'lodash', 'moment' ]);
  • As a dictionary
var attach = require('koa-attach');
app.use(attach({
    $: 'lodash',
    m: 'moment'
}));

License

MIT

About

Koa-attach is a koa middleware for attaching node packages to koa context.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages