Show HN: TypeScript YAML Plugin – Typed .yaml imports with autocomplete

3 secularchapel 0 8/6/2025, 2:23:44 PM github.com ↗
What's up HN! I built a TypeScript Language Service plugin that adds native support for importing .yaml and .yml files with full type inference and autocomplete in TypeScript 5. I made this because I wanted to store LLM prompt templates outside of my source code, but JSON was impractical due to the need to escape every newline and quote, which reduces readability for large texts. I wanted to use YAML, but TypeScript doesn't provide intellisense for YAML files by default. This plugin solves that issue. Happy to hear your feedback or suggestions! The project is open source (MIT) and open to contributions.

Comments (0)

No comments yet