UNPKG

alagarr

Version:

Alagarr is a request-response helper library that removes the boilerplate from your Node.js serverless functions and helps make your code portable.

7 lines (6 loc) 210 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function addTimestamp(request) { return Object.assign({}, request, { timestamp: Date.now() }); } exports.default = addTimestamp;