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.

9 lines (8 loc) 470 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const make_response_object_1 = __importDefault(require("./make-response-object")); const html = (responseData, _, body, statusCode, options) => make_response_object_1.default(responseData, body, statusCode, options, 'text/html'); exports.default = html;