UNPKG

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.

10 lines (9 loc) 444 B
/** * 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;