aeliot/yaml-token

Tokenizer of YAML

Maintainers

Package info

github.com/Aeliot-Tm/yaml-token

pkg:composer/aeliot/yaml-token

Statistics

Installs: 22

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 1

0.1.0 2026-05-30 18:31 UTC

This package is auto-updated.

Last update: 2026-05-30 19:39:26 UTC


README

Testing Security Audit GitHub License

A YAML parser that represents YAML as a hierarchical structure of nodes and tokens.

Purpose

The library enables working with YAML not only as data but as a full structure of the source text represented by nodes and tokens. It provides base layer for the analysis and modification of YAML with isolated impact and without side effects.

Unlike symfony/yaml, which is designed for YAML → array and array → YAML conversion, this library provides a mechanism for analyzing and precisely manipulating the source YAML.

YAML Specifications

Mapping project terms to the YAML specification

Acknowledgments

Thanks to Masaaki Goshima for goccy/go-yaml test fixtures used under the MIT License and with the author's permission in tests/fixture/go_yaml/ and tests/fixture/go_yaml_extra/.

Third-party notices

This repository includes third-party materials that are not covered solely by the copyright in LICENSE. Their sources, scope, and license terms are listed in THIRD_PARTY_NOTICES.md.

Contributing

Feedback and contributions are welcome. Open an issue to discuss larger changes before investing significant time. Pull requests for fixes and tests are appreciated.

Read contributing instructions.