{"id":15653776,"url":"https://github.com/ultirequiem/yamlfmt","last_synced_at":"2026-03-03T22:31:43.647Z","repository":{"id":41040343,"uuid":"403798585","full_name":"UltiRequiem/yamlfmt","owner":"UltiRequiem","description":"⚡ Blazing fast YAML formatter","archived":false,"fork":false,"pushed_at":"2025-03-19T16:45:10.000Z","size":28,"stargazers_count":29,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T10:02:51.384Z","etag":null,"topics":["cli","formatter","go","go-formatter","golang","golang-application","yaml"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/UltiRequiem/yamlfmt","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UltiRequiem.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-07T01:03:35.000Z","updated_at":"2025-03-19T16:44:19.000Z","dependencies_parsed_at":"2024-06-20T04:16:39.056Z","dependency_job_id":"753c27f9-17f3-4200-842e-6a64db27ab08","html_url":"https://github.com/UltiRequiem/yamlfmt","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fyamlfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fyamlfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fyamlfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fyamlfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UltiRequiem","download_url":"https://codeload.github.com/UltiRequiem/yamlfmt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249067773,"owners_count":21207395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","formatter","go","go-formatter","golang","golang-application","yaml"],"created_at":"2024-10-03T12:47:01.807Z","updated_at":"2026-03-03T22:31:43.591Z","avatar_url":"https://github.com/UltiRequiem.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YAMLFMT\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/UltiRequiem/yamlfmt)](https://goreportcard.com/report/github.com/UltiRequiem/yamlfmt)\n[![Go Reference](https://pkg.go.dev/badge/github.com/UltiRequiem/yamlfmt/pkg.svg)](https://pkg.go.dev/github.com/UltiRequiem/yamlfmt/pkg)\n\nA simple and extensible [yaml](https://yaml.org) formatter.\n\nCode coverage: https://ulti.js.org/yamlfmt\n\n## Installation\n\n```bash\ngo install github.com/UltiRequiem/yamlfmt@latest\n```\n\nYou can also use the binaries from\n[releases](https://github.com/UltiRequiem/yamlfmt/releases).\n\n## Usage\n\n- To format one or more files and write to stdout:\n\n  ```bash\n  yamlfmt a.yaml b.yaml c.yaml\n  ```\n\n- To format one or more files in the replace mode:\n\n  ```bash\n  yamlfmt -w a.yaml b.yaml c.yaml\n  ```\n\n  If you want to log the files that have been formatted, you can use the `-l`\n  flag also.\n\n- To format stdin and write to stdout:\n\n  ```bash\n  cat a.yaml | yamlfmt\n  ```\n\n- To format stdin and write to a file:\n\n  ```bash\n  cat a.yaml | yamlfmt \u003e b.yaml\n  ```\n\n- To format every file in your current directory and subdirectories:\n\n  - Using `find`:\n\n    ```bash\n    yamlfmt -w $(find -name \"*.yaml\")\n    ```\n\n  - Using `fd`:\n\n    ```bash\n    yamlfmt -w $(fd -H -e yaml)\n    ```\n\n## Editor Integration\n\n### Neovim / Vim\n\n```viml\nau FileType yaml let \u0026l:formatprg= \"yamlfmt /dev/stdin\"\n```\n\nIt can Probably integrate with others editors easily but I only use Neovim. If\nyou know how to integrate it with some other editor, please open a pull requests\nor issue with the information.\n\n## Authors\n\n[Eliaz Bobadilla](https://ultirequiem.xyz) - Creator and Maintainer 💪\n\nBig thanks to @Antoineio for helping with the tests and CI! 🎉\n\nSee also the full list of\n[contributors](https://github.com/UltiRequiem/yamlfmt/contributors) who\nparticipated in this project ✨\n\n## Licence\n\nLicensed under the MIT License 📄\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fyamlfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultirequiem%2Fyamlfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fyamlfmt/lists"}