{"id":13740989,"url":"https://github.com/lpil/tom","last_synced_at":"2026-01-02T21:42:48.678Z","repository":{"id":206809085,"uuid":"717595482","full_name":"lpil/tom","owner":"lpil","description":"A pure Gleam TOML parser!","archived":false,"fork":false,"pushed_at":"2023-12-07T13:00:52.000Z","size":47,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T23:06:02.041Z","etag":null,"topics":["gleam-lang","toml-parser"],"latest_commit_sha":null,"homepage":"","language":"Gleam","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lpil.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2023-11-12T00:11:23.000Z","updated_at":"2024-05-04T13:40:07.008Z","dependencies_parsed_at":"2023-12-07T13:30:41.422Z","dependency_job_id":"f6a34cc2-3c3f-46e9-a7c2-dafef014ab6f","html_url":"https://github.com/lpil/tom","commit_stats":null,"previous_names":["lpil/tom"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Ftom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Ftom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Ftom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Ftom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lpil","download_url":"https://codeload.github.com/lpil/tom/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243753989,"owners_count":20342537,"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":["gleam-lang","toml-parser"],"created_at":"2024-08-03T04:00:54.255Z","updated_at":"2026-01-02T21:42:48.626Z","avatar_url":"https://github.com/lpil.png","language":"Gleam","funding_links":[],"categories":["Packages","Gleam"],"sub_categories":["Formats"],"readme":"# tom\n\nA Gleam TOML parser!\n\n[![Package Version](https://img.shields.io/hexpm/v/tom)](https://hex.pm/packages/tom)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/tom/)\n\n\n```sh\ngleam add tom\n```\n```gleam\nimport tom\n\nconst config = \"\n  [person]\n  name = \\\"Lucy\\\"\n  is_cool = true\n\"\n\npub fn main() {\n  // Parse a string of TOML\n  let assert Ok(parsed) = tom.parse(config)\n\n  // Now you can work with the data directly, or you can use the `get_*`\n  // functions to retrieve values.\n\n  tom.get_string(parsed, [\"person\", \"name\"])\n  // -\u003e Ok(\"Lucy\")\n\n  let is_cool = tom.get_bool(parsed, [\"person\", \"is_cool\"])\n  // -\u003e Ok(True)\n}\n```\n\nFurther documentation can be found at \u003chttps://hexdocs.pm/tom\u003e.\n\n## Status\n\nThe following string escape sequences are not supported yet:\n\n- `\\xHH`\n- `\\uHHHH`\n- `\\UHHHHHHHH`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpil%2Ftom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpil%2Ftom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpil%2Ftom/lists"}