@remote.it/core
Version:
Core remote.it JavasScript/TypeScript library
17 lines • 684 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var path_1 = __importDefault(require("path"));
var os_1 = __importDefault(require("os"));
var TempFilePath = /** @class */ (function () {
function TempFilePath() {
}
TempFilePath.prototype.toString = function () {
return path_1.default.join(os_1.default.tmpdir(), 'remoteit-test-file-' + Math.floor(Math.random() * 10000) + '.txt');
};
return TempFilePath;
}());
exports.TempFilePath = TempFilePath;
//# sourceMappingURL=TempFilePath.js.map