npm.io
0.1.0 • Published 7 years ago

micronize

Licence
MIT
Version
0.1.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0
Stars
8

micronize

Simple way of enhacing a function with Zeit's Micro framework.

It's particullarly usefull for severless environment (such as zeit's now and aws lamda)

Install

$ npm install --save micro micronize

Usage

const { send } = require('micro');
const micronize = require('micronize');

module.exports = micronize((req, res) => send(res, 200, 'Hello from micro'));

License

MIT Nicolas Cisco

Keywords