Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on From Express.js to AWS Lambda: Migrating Existing Node Apps to Serverless. Parent comment
for reasons that I've explained in a README section https://github.com/tobiipro/http-lambda#a-word-on-httpsgithu...
Your snippet becomes
const {httpLambda} = require('http-lambda'); const app = require('./app'); exports.handler = httpLambda((http, _event, _context) => ( http.createServer(app); ));
There are no comments on this comment yet.
for reasons that I've explained in a README section https://github.com/tobiipro/http-lambda#a-word-on-httpsgithu...
Your snippet becomes