UNPKG

@thisisagile/easy

Version:

Straightforward library for building domain-driven microservice architectures

20 lines (18 loc) 332 B
import { rest } from "./chunk-MJALPDQ3.mjs"; import { toHttpStatus } from "./chunk-UGUAZFM4.mjs"; // src/http/toResponse.ts function toResponse(status, body, headers) { return { status: toHttpStatus(status), headers, body: rest.to(body) }; } export { toResponse }; //# sourceMappingURL=chunk-4YU5I7EV.mjs.map