{"library":"yaml","type":"library","category":null,"description":"The `yaml` library is a robust and definitive JavaScript parser and stringifier for YAML, supporting both YAML 1.1 and 1.2 specifications and all common data schemas. It currently maintains a stable version 2.8.3, with an active release cadence that regularly introduces new features and bug fixes. A v3.0.0-0 prerelease is also available under the `next` tag, though it is not yet stable for production use and is not recommended for production environments. Key differentiators include passing all `yaml-test-suite` tests, its ability to parse any string input without throwing errors (extracting as much YAML as possible), and comprehensive support for parsing, modifying, and writing YAML comments and blank lines. It boasts no external dependencies and runs across various JavaScript environments including Node.js (requiring `>= 14.6`), modern browsers, Deno, Bun, and Cloudflare Workers, shipping with full TypeScript type definitions (minimum TS 3.9).","language":"javascript","status":"active","version":"2.8.3","tags":["javascript","YAML","parser","stringifier","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install yaml","imports":["import { parse } from 'yaml'","import { stringify } from 'yaml'","import { Document } from 'yaml'","import { parseDocument } from 'yaml'","import { YAMLMap, YAMLSeq, Scalar } from 'yaml'"]},{"cmd":"yarn add yaml","imports":[]},{"cmd":"pnpm add yaml","imports":[]}],"homepage":"https://eemeli.org/yaml/","github":"https://github.com/eemeli/yaml","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/yaml","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/yaml/compatibility"}}