NOTICE: Since light is a work in progress, breaking changes will be made every MINOR patch until 2.0

light

  

CircleCI  NPM  Coveralls

as simple as

light dev



write once

deploy anywhere

const light = require('light');



module.exports = light({
  path: '/',
  async handler(req, res) {
    return {
      hello: 'world',
    };
  },
});

try it yourself

on RunKit