UNPKG

express-to-lambda

Version:

Simple package for converting your express application to an AWS Lambda.

5 lines (4 loc) 253 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.appListenerRegex = void 0; exports.appListenerRegex = /(app\.listen\([^,)]+,\s*\(\)\s*=>\s*{[\s\S]*?}\s*\)|app\.listen\([^,)]+,\s*function\s*\(\)\s*{[\s\S]*?}\s*\))/g;