yini-parser
Version:
Node.js parser for YINI — a clean, structured INI alternative with types, simple section nesting, comments, and strict mode.
16 lines (15 loc) • 614 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;