@sigiljs/sigil
Version:
TypeScript-first Node.js HTTP framework offering schema-driven routing, modifier-based middleware, plugin extensibility, and flexible response templating
2 lines (1 loc) • 433 B
JavaScript
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});class t{#e;#t;constructor(e){this.#e=e}get mimeType(){return this.#e.mimeType}get originalName(){return this.#e.originalName}get incomingFileKey(){return this.#e.key}blob(){return this.#t!==void 0?this.#t:(this.#t=new Blob([this.#e.buffer],{type:this.#e.mimeType}),this.#t)}buffer(){return this.#e.buffer}}exports.default=t;