UNPKG

@octopan/telegram-green-house

Version:

Monitor & control green-house with Telegram & Raspberry Pi

13 lines 552 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getAsbolutePath = exports.getFilePath = void 0; const path = require("path"); function getFilePath(...resourcePathParts) { return resourcePathParts.reduce((prev, current) => path.join(prev, current), path.join(__dirname, 'resources')); } exports.getFilePath = getFilePath; function getAsbolutePath(relativeFilePath) { return path.join(__dirname, relativeFilePath); } exports.getAsbolutePath = getAsbolutePath; //# sourceMappingURL=resources.js.map