{"id":14984113,"url":"https://github.com/prettier/yaml-unist-parser","last_synced_at":"2025-10-19T11:31:51.702Z","repository":{"id":57403007,"uuid":"133967060","full_name":"prettier/yaml-unist-parser","owner":"prettier","description":"A YAML parser that produces output compatible with unist","archived":false,"fork":false,"pushed_at":"2024-01-22T17:23:49.000Z","size":858,"stargazers_count":25,"open_issues_count":4,"forks_count":9,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-29T15:15:09.921Z","etag":null,"topics":["unist","yaml"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/prettier.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":"prettier","open_collective":"prettier","tidelift":"npm/prettier"}},"created_at":"2018-05-18T14:44:15.000Z","updated_at":"2024-09-25T20:23:35.000Z","dependencies_parsed_at":"2024-01-29T22:09:28.153Z","dependency_job_id":"ba5a1ad3-e1e2-4a15-8b62-0422c0908e04","html_url":"https://github.com/prettier/yaml-unist-parser","commit_stats":{"total_commits":289,"total_committers":7,"mean_commits":"41.285714285714285","dds":0.342560553633218,"last_synced_commit":"59d3a2e90c26fc0a2aba0b9aa6bd75934c43389b"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier%2Fyaml-unist-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier%2Fyaml-unist-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier%2Fyaml-unist-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier%2Fyaml-unist-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prettier","download_url":"https://codeload.github.com/prettier/yaml-unist-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237117165,"owners_count":19258364,"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":["unist","yaml"],"created_at":"2024-09-24T14:08:28.607Z","updated_at":"2025-10-19T11:31:46.239Z","avatar_url":"https://github.com/prettier.png","language":"TypeScript","funding_links":["https://github.com/sponsors/prettier","https://opencollective.com/prettier","https://tidelift.com/funding/github/npm/prettier"],"categories":[],"sub_categories":[],"readme":"# yaml-unist-parser\n\n[![npm](https://img.shields.io/npm/v/yaml-unist-parser.svg)](https://www.npmjs.com/package/yaml-unist-parser)\n[![build](https://img.shields.io/github/workflow/status/prettier/yaml-unist-parser/CI)](https://github.com/prettier/yaml-unist-parser/actions?query=workflow%3ACI+branch%3Amain)\n[![coverage](https://img.shields.io/codecov/c/github/prettier/yaml-unist-parser/main.svg)](https://codecov.io/gh/prettier/yaml-unist-parser)\n\nA YAML parser that produces output compatible with [unist](https://github.com/syntax-tree/unist)\n\n[Changelog](https://github.com/ikatyang/yaml-unist-parser/blob/master/CHANGELOG.md)\n\n## Features\n\n- better node positioning\n- better comment attaching\n- [unist-compatible AST](https://github.com/ikatyang/yaml-unist-parser/blob/master/src/types.ts)\n\n## Install\n\n```sh\n# using npm\nnpm install --save yaml-unist-parser\n\n# using yarn\nyarn add yaml-unist-parser\n```\n\n## Usage\n\n```ts\nimport { parse } from \"yaml-unist-parser\";\n\nconst ast = parse(`\n- hello\n- world\n`);\n```\n\n## Development\n\n```sh\n# lint\nyarn run lint\n\n# build\nyarn run build\n\n# test\nyarn run test\n```\n\n## License\n\nMIT © [Ika](https://github.com/ikatyang)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprettier%2Fyaml-unist-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprettier%2Fyaml-unist-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprettier%2Fyaml-unist-parser/lists"}