@foal/core
Version:
Full-featured Node.js framework, with no complexity
19 lines (18 loc) • 456 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.File = void 0;
class File {
encoding;
filename;
mimeType;
path;
buffer;
constructor(options) {
this.encoding = options.encoding;
this.filename = options.filename;
this.mimeType = options.mimeType;
this.path = options.path || '';
this.buffer = options.buffer || Buffer.alloc(0);
}
}
exports.File = File;