yini-parser
Version:
Readable configuration without YAML foot-guns or JSON noise. The official Node.js parser for YINI config format — An INI-inspired configuration format with clear nesting, explicit types, and predictable parsing.
16 lines • 657 B
JavaScript
;
/**
* This file contains general path and file name helper functions (utils).
* @note More specific YINI helper functions should go into yiniHelpers.ts-file.
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getFileNameExtension = void 0;
const path_1 = __importDefault(require("path"));
const getFileNameExtension = (fullPath) => {
return path_1.default.extname(fullPath);
};
exports.getFileNameExtension = getFileNameExtension;
//# sourceMappingURL=pathAndFileName.js.map