{"id":16301819,"url":"https://github.com/curttilmes/perl6-libyaml","last_synced_at":"2026-04-30T14:36:16.494Z","repository":{"id":66254753,"uuid":"91368729","full_name":"CurtTilmes/perl6-libyaml","owner":"CurtTilmes","description":"Perl6 bindings for LibYAML","archived":false,"fork":false,"pushed_at":"2017-05-18T01:22:26.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T01:18:30.941Z","etag":null,"topics":["perl6","yaml","yaml-export","yaml-import","yaml-parser"],"latest_commit_sha":null,"homepage":null,"language":"Perl6","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CurtTilmes.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}},"created_at":"2017-05-15T18:03:15.000Z","updated_at":"2019-02-27T14:52:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd782fe7-6f76-4b28-9e70-e8c7b40c1ecd","html_url":"https://github.com/CurtTilmes/perl6-libyaml","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CurtTilmes%2Fperl6-libyaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CurtTilmes%2Fperl6-libyaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CurtTilmes%2Fperl6-libyaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CurtTilmes%2Fperl6-libyaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CurtTilmes","download_url":"https://codeload.github.com/CurtTilmes/perl6-libyaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137891,"owners_count":21053776,"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":["perl6","yaml","yaml-export","yaml-import","yaml-parser"],"created_at":"2024-10-10T20:55:39.327Z","updated_at":"2026-04-30T14:36:11.455Z","avatar_url":"https://github.com/CurtTilmes.png","language":"Perl6","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Perl6 LibYAML\n\n[![Build Status](https://travis-ci.org/CurtTilmes/perl6-libyaml.svg)](https://travis-ci.org/CurtTilmes/perl6-libyaml)\n\nA [Perl 6](https://perl6.org/) interface to\n[LibYAML](https://github.com/yaml/libyaml), a [YAML](http://yaml.org/)\n1.1 parser and emitter.\n\n# INSTALLATION\n\nYou must get and install [libyaml](https://github.com/yaml/libyaml)\nfirst. Then you can install LibYAML with zef:\n\n    zef install LibYAML\n\n## Install from Sources\n\nYou can install this LibYAML module from source (optionally also using the\nlibyaml C code sources) like this:\n\n    $ git clone https://github.com/CurtTilmes/perl6-libyaml\n    $ git clone https://github.com/yaml/libyaml\n    $ (cd libyaml; make -f .makefile)\n    $ export LD_LIBRARY_PATH=$PWD/libyaml/src/.libs\n    $ cd perl6-libyaml\n    $ zef install .\n\n# Examples\n\n## Simple\n\n    use LibYAML;\n\n    my $object = load-yaml(\"...YAML...\");\n\n    my $object = load-yaml-file(\"/my/file.yml\");\n\n    my $yaml-str = dump-yaml($object [, $object2, ...], ...options...);\n\n    dump-yaml-file(\"/my/file.yml\", $object [, $object2, ...], ...options...);\n\n## Object-Oriented\n\n    use LibYAML;\n\n    my $parser = LibYAML::Parser.new;\n\n    my $object = $parser.parse-string(\"...YAML...\");\n\n    my $object = $parser.parse-file(\"/my/file.yml\");\n\n    my $emitter = LibYAML::Emitter.new(...options...);\n\n    my $yaml-str = $emitter.dump-string($object [, $object2, ...]);\n\n    $emitter.dump-file(\"/my/file.yml\", $object [, $object2, ... ]);\n\n# Emitter options\n\n    :encoding = YAML_ANY_ENCODING\n                YAML_UTF8_ENCODING (default)\n                YAML_UTF16LE_ENCODING\n                YAML_UTF16BE_ENCODING\n\n    :sequence-style = YAML_BLOCK_SEQUENCE_STYLE (default)\n                      YAML_FLOW_SEQUENCE_STYLE\n\n    :mapping-style = YAML_BLOCK_MAPPING_STYLE (default)\n                     YAML_FLOW_MAPPING_STYLE\n\n    :header or :!header  Output `---` header (default if more than one object output)\n\n    :footer or :!footer  Output `...` footer (default false)\n\n    :canonical or :!canonical\n\n    :indent = 2 .. 9 (default 2)\n\n    :width = width of line, default = -1, infinite\n\n    :unicode or :!unicode (default True)\n\n    :break = YAML_LN_BREAK (default)\n             YAML_CR_BREAK\n             YAML_CRLN_BREAK\n\n# Errors\n\nThrows exceptions `X::LibYAML::Parser-Error` or\n`X::LibYAML::Emitter-Error` on error.\n\n# SEE ALSO\n\n[YAMLish](https://github.com/Leont/yamlish) is a pure-perl6 module for\nYAML that doesn't rely on an external library like `LibYAML` does.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurttilmes%2Fperl6-libyaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurttilmes%2Fperl6-libyaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurttilmes%2Fperl6-libyaml/lists"}