@episodehunter/kingsguard
v5.1.3
Published
Kingsguard for episodehunter
Downloads
4
Readme
Kingsguard
Wrap a aws (lambda) function and provide it with a logger. Also capture a timeout error before it happens.
Usage
import { guard } from '@episodehunter/kingsguard'
export const handler = guard((event, logger, context) => {
logger.log(`Event: ${event}`)
return 1
})