{"library":"yaml-fmt","type":"library","category":null,"description":"A configurable YAML formatter for Node.js (CLI & API) that sorts object keys and array values in YAML files. Currently at v0.0.8, with infrequent releases. Key differentiators include support for wildcard targets, property-specific sort configurations, and JSON-based config files. Provides ESM and CJS support, ships TypeScript types, and can be used as a CLI tool via `yaml-fmt fmt` or programmatically. Alternatives like prettier or yq offer broader functionality but less YAML-specific sorting control.","language":"javascript","status":"active","version":"0.0.8","tags":["javascript","yaml","sort","format","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install yaml-fmt","imports":["import { format } from 'yaml-fmt'","import type { YamlFmtConfig } from 'yaml-fmt'","import yamlFmt from 'yaml-fmt'","import { cli } from 'yaml-fmt'"]},{"cmd":"yarn add yaml-fmt","imports":[]},{"cmd":"pnpm add yaml-fmt","imports":[]}],"homepage":"https://github.com/tkow/yaml-fmt#readme","github":"https://github.com/tkow/yaml-fmt","docs":null,"changelog":null,"pypi":null,"npm":"yaml-fmt","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}