0.1.0 • Published 5 years ago

micronize v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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