DEV Community

Mr Smithnen
Mr Smithnen

Posted on

YINI Config Parser v1.3.2-beta Released (Node.js)

A new beta of the official TypeScript parser for YINI is out!
This release focuses on real-world usability, robust file handling, and dependency hygiene.

If you're new to YINI: it's a modern, human-friendly configuration format that aims to keep INI-style readability while supporting real structure.

What's new in 1.3.2-beta

UTF-8 BOM support

YINI now correctly handles UTF-8 files with or without a Byte Order Mark (BOM).

  • Safe stripping of a leading BOM (U+FEFF)
  • Identical parsing behavior for:
    • UTF-8 without BOM
    • UTF-8 with BOM
    • BOM followed by a blank line
  • Explicitly does not treat mid-file U+FEFF as a BOM
  • Comprehensive test fixtures added for all cases

This makes YINI more robust when consuming files created by different editors, platforms, and tooling.

Shebang (#!) support

  • YINI files can now start with a shebang line, which is ignored by the parser.

Dependency updates & security hygiene

  • All project dependencies (~14) updated to their latest versions
  • Includes TypeScript and packages with reported security advisories
  • Node.js type definitions intentionally left unchanged

No breaking API changes were introduced.

πŸ“¦ Installation

npm install yini-parser
Enter fullscreen mode Exit fullscreen mode

Or, if you're already using it, just bump to 1.3.2-beta.

Links

Feedback welcome

YINI is still evolving, and feedback from real users is invaluable.
If you try this release and run into anything odd, or have thoughts on the format itself, feel free to open an issue or start a discussion.

Thanks to everyone following and testing the project πŸ™Œ
Thanks to everyone following and testing the project πŸ™Œ

Top comments (0)