{"id":14985670,"url":"https://github.com/42bv/yml-sorter","last_synced_at":"2025-04-11T22:04:54.061Z","repository":{"id":46865934,"uuid":"96404413","full_name":"42BV/yml-sorter","owner":"42BV","description":"Sorts yml files alphabetically","archived":false,"fork":false,"pushed_at":"2023-01-07T06:38:34.000Z","size":582,"stargazers_count":17,"open_issues_count":12,"forks_count":8,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-11T22:04:41.710Z","etag":null,"topics":["command-line","sort-yml-files","utility","yml"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/42BV.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-06T07:59:51.000Z","updated_at":"2023-02-11T23:54:46.000Z","dependencies_parsed_at":"2023-02-06T14:16:22.643Z","dependency_job_id":null,"html_url":"https://github.com/42BV/yml-sorter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42BV%2Fyml-sorter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42BV%2Fyml-sorter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42BV%2Fyml-sorter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42BV%2Fyml-sorter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/42BV","download_url":"https://codeload.github.com/42BV/yml-sorter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487716,"owners_count":21112191,"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":["command-line","sort-yml-files","utility","yml"],"created_at":"2024-09-24T14:11:27.659Z","updated_at":"2025-04-11T22:04:54.010Z","avatar_url":"https://github.com/42BV.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nThis is a tool which allows you to sort yml files via a CLI.\n\nThe tool is basically a tiny wrapper around the great [js-yaml](https://github.com/nodeca/js-yaml).\n\n# Installation\n\n`npm install -g yml-sorter`\n\n# Usage\n\n```\nUsage: yml-sorter [options]\n\nOptions:\n  --input, -i     The yml file which needs to be sorted  [required]\n  --output, -o    The file to wich to write the output\n  --dry-run, -d   Only outputs the proposed sort to the terminal  [default: false]\n  --indent, --id  Indentation width to use (in spaces)  [default: 2]\n  -h, --help      Show help  [boolean]\n\nExamples:\n  yml-sorter --input application-yml                       Sorts the file application.yml alphabetically.\n  yml-sorter --input application-yml --output dragons.yml  Sorts and writes the output to dragons.yml\n  yml-sorter --input application-yml --dry-run             Writes the output to the terminal\n  yml-sorter --input application-yml --indent 4            Indent with 4 spaces\n\nWith love from 42.nl\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42bv%2Fyml-sorter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F42bv%2Fyml-sorter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42bv%2Fyml-sorter/lists"}