yini-parser
Version:
Node.js parser for YINI — a clean, structured INI alternative with types, simple section nesting, comments, and strict mode.
10 lines (9 loc) • 444 B
TypeScript
/**
* Extract significant YINI line from YINI content (that may be surrounded by comments.).
* @param rawYiniContent For example:
* // This whole line is a comment.
* ^SectionName# This part is a comment.
* // This whole line is a comment.
* @returns Will filter out any comments (before or after) and return only one single significant YINI line.
*/
export declare const extractYiniLine: (rawYiniContent: string) => string;