{"id":16121675,"url":"https://github.com/g-plane/pretty_yaml","last_synced_at":"2025-04-09T13:03:55.667Z","repository":{"id":246838931,"uuid":"809399879","full_name":"g-plane/pretty_yaml","owner":"g-plane","description":"Semi-tolerant and configurable YAML formatter with dprint integration.","archived":false,"fork":false,"pushed_at":"2024-11-29T02:44:20.000Z","size":595,"stargazers_count":26,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T06:35:12.144Z","etag":null,"topics":["dprint","dprint-plugin","formatter","formatting","prettier","yaml"],"latest_commit_sha":null,"homepage":"https://dprint.dev/plugins/pretty_yaml/","language":"Rust","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/g-plane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"g-plane"}},"created_at":"2024-06-02T15:28:25.000Z","updated_at":"2025-03-27T22:32:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"f102e31e-52cc-4b38-9ef6-5b69c85cc2b4","html_url":"https://github.com/g-plane/pretty_yaml","commit_stats":{"total_commits":215,"total_committers":1,"mean_commits":215.0,"dds":0.0,"last_synced_commit":"c471a2663ae63b8f0acea5e234dee84f381c9c14"},"previous_names":["g-plane/pretty_yaml"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-plane%2Fpretty_yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-plane%2Fpretty_yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-plane%2Fpretty_yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-plane%2Fpretty_yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g-plane","download_url":"https://codeload.github.com/g-plane/pretty_yaml/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045230,"owners_count":21038553,"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":["dprint","dprint-plugin","formatter","formatting","prettier","yaml"],"created_at":"2024-10-09T21:06:35.767Z","updated_at":"2025-04-09T13:03:55.643Z","avatar_url":"https://github.com/g-plane.png","language":"Rust","funding_links":["https://github.com/sponsors/g-plane"],"categories":[],"sub_categories":[],"readme":"# Pretty YAML\n\nPretty YAML is a semi-tolerant and configurable YAML formatter.\n\n![GitHub Downloads](https://img.shields.io/github/downloads/g-plane/pretty_yaml/latest/plugin.wasm?style=flat-square)\n\n## Getting Started\n\n### dprint\n\nWe've provided [dprint](https://dprint.dev/) integration.\n\nRun the command below to add plugin:\n\n```shell\ndprint config add g-plane/pretty_yaml\n```\n\nAfter adding the dprint plugin, update your `dprint.json` and add configuration:\n\n```jsonc\n{\n  // ...\n  \"yaml\": { // \u003c-- the key name here is \"yaml\", not \"pretty_yaml\"\n    // Pretty YAML config comes here\n  },\n  \"plugins\": [\n    \"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm\"\n  ]\n}\n```\n\nYou can also read [dprint CLI documentation](https://dprint.dev/cli/) for using dprint to format files.\n\n## Configuration\n\nPlease refer to [Configuration](https://pretty-yaml.netlify.app/).\n\n## Using in Rust\n\n### Formatter\n\nThe formatter can be used in Rust. Please read the [documentation](https://docs.rs/pretty_yaml).\n\n### Parser\n\nIf you want to use the underlying parser, please refer to the [documentation](https://docs.rs/yaml_parser).\n\n## Credit\n\nTests come from [Prettier](https://github.com/prettier/prettier/tree/main/tests/format/yaml).\n\n## License\n\nMIT License\n\nCopyright (c) 2024-present Pig Fang\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-plane%2Fpretty_yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg-plane%2Fpretty_yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-plane%2Fpretty_yaml/lists"}