js-yaml is a YAML 1.2 parser and serializer written in pure JavaScript. It provides robust and reliable YAML parsing and generation capabilities for Node.js and browsers. The package supports custom types, schema definitions, and safe loading options, making it versatile for various use cases. Its clean API and extensive test suite ensure ease of use and stability across projects. js-yaml is widely adopted for configuration files, data serialization, and other applications requiring YAML processing.
The js-yaml npm package had frequent releases early on, peaking in November 2011. Release frequency decreased significantly after 2017, with occasional versions appearing until 2021. Since then, there have been no new releases, with the last release being version 4.1.0 in April 2021.
Js-yaml downloads show a generally increasing trend from March 2024 to August 2025, peaking in June 2025. March 2024 shows a significant difference with only 211238548 downloads. September 2025 downloads are incomplete and significantly lower than the previous months, which is expected given that the month is still in progress.