YINI Config Parser v1.3.2-beta Released (Node.js)
Source: Dev.to
Release Overview
A new beta of the official TypeScript parser for YINI is out!
YINI is a modern, human‑friendly configuration format that keeps INI‑style readability while supporting real structure.
New Features
- Correct handling of 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, making YINI more robust across different editors, platforms, and tooling.
- YINI files can now start with a shebang line, which the parser ignores.
- All project dependencies (~14) updated to their latest versions, including 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
If you’re already using the parser, just bump to 1.3.2-beta.
Resources
- Source code:
- npm package:
- Specification & docs:
Feedback is welcome—YINI is still evolving, and input from real users is invaluable. 🙌