{"id":28748759,"url":"https://github.com/yaml/go-yaml-node","last_synced_at":"2025-06-16T19:12:37.182Z","repository":{"id":298186715,"uuid":"999160759","full_name":"yaml/go-yaml-node","owner":"yaml","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-10T14:24:12.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-10T15:38:47.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaml.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,"zenodo":null}},"created_at":"2025-06-09T20:42:34.000Z","updated_at":"2025-06-10T14:29:22.000Z","dependencies_parsed_at":"2025-06-10T15:38:49.602Z","dependency_job_id":null,"html_url":"https://github.com/yaml/go-yaml-node","commit_stats":null,"previous_names":["ingydotnet/go-yaml-comment-testing","yaml/go-yaml-node"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yaml/go-yaml-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fgo-yaml-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fgo-yaml-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fgo-yaml-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fgo-yaml-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaml","download_url":"https://codeload.github.com/yaml/go-yaml-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fgo-yaml-node/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260221645,"owners_count":22976874,"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":[],"created_at":"2025-06-16T19:12:35.231Z","updated_at":"2025-06-16T19:12:37.169Z","avatar_url":"https://github.com/yaml.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"go-yaml-node\n============\n\nLoad a YAML file and print the nodes\n\n\n## Description\n\nThis program is extremely useful for understanding / debugging how\n[go-yaml](https://github.com/yaml/go-yaml) loads YAML documents.\n\nThe `Unmarshal` function loads YAML documents into a `Node` data type.\n\nThis program will read YAML from stdin and print the nodes in an indented tree\nformat, showing all the (non-empty) field values.\n\n\n## Usage\n\nExample:\n\n```\n$ go-yaml-node \u003c\u003c\u003c 'scalar forms: [null, true, yes, 0xcafe, 0o123, 12:34:56]'\nkind: Document\ncontent:\n    - kind: Mapping\n      content:\n        - kind: Scalar\n          text: scalar forms\n        - kind: Sequence\n          style: Flow\n          content:\n            - kind: Scalar\n              tag: '!!null'\n              text: \"null\"\n            - kind: Scalar\n              tag: '!!bool'\n              text: \"true\"\n            - kind: Scalar\n              text: \"yes\"\n            - kind: Scalar\n              tag: '!!int'\n              text: \"0xcafe\"\n            - kind: Scalar\n              tag: '!!int'\n              text: \"0o123\"\n            - kind: Scalar\n              text: \"12:34:56\"\n```\n\n\n## Installation\n\n```\nmake install PREFIX=\u003cprefix-dir-path\u003e\n```\n\n\n## Testing\n\n```\nmake test\nmake test file=test/file-002.yaml\n```\n\nNo deps required.\nOn first run this will install Go locally.\n\nThis should install all deps including a local installation of Go.\n\n\n## Installation\n\n```\ngo install github.com/ingydotnet/go-yaml-node@latest\n```\n\n\n## License\n\nCopyright 2025 - Ingy döt Net\n\nThis project is licensed under the Apache License, Version 2.0.\n\nSee the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fgo-yaml-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaml%2Fgo-yaml-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fgo-yaml-node/lists"}