UNPKG

yini-parser

Version:

Node.js parser for YINI — a clean, structured INI alternative with types, simple section nesting, comments, and strict mode.

19 lines (17 loc) 433 B
// Parsed output in config from examples/nested.yini using YINI.parseFile(...) config = { App: { name: 'Nested Demo App', version: '1.2.3', Theme: { primaryColor: 3368601, darkMode: true, Overrides: { darkMode: false, fontSize: 14 }, }, }, Database: { host: 'db.local', port: 5432, Credentials: { password: 'secret' }, }, }