{"id":51383734,"url":"https://github.com/uriid1/lua-format-string","last_synced_at":"2026-07-03T18:11:38.586Z","repository":{"id":366855091,"uuid":"1278178199","full_name":"uriid1/lua-format-string","owner":"uriid1","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-23T14:41:36.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-23T16:28:37.600Z","etag":null,"topics":["lua","luajit","tarantool"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/uriid1.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-23T14:36:02.000Z","updated_at":"2026-06-23T14:42:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/uriid1/lua-format-string","commit_stats":null,"previous_names":["uriid1/lua-format-string"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/uriid1/lua-format-string","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriid1%2Flua-format-string","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriid1%2Flua-format-string/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriid1%2Flua-format-string/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriid1%2Flua-format-string/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uriid1","download_url":"https://codeload.github.com/uriid1/lua-format-string/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriid1%2Flua-format-string/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35096194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["lua","luajit","tarantool"],"created_at":"2026-07-03T18:11:38.091Z","updated_at":"2026-07-03T18:11:38.580Z","avatar_url":"https://github.com/uriid1.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lua format string\n\nString interpolation with support for table field lookups.\n\n```lua\nlocal f = require('f')\n\nlocal person = { priv = { age = 27 } }\nlocal name = 'Alex'\n\ndo\n  local name = 'Urii'\n  print(f'Name: ${name} | Person age: ${person.priv.age}') -- Name: Urii | Person age: 27\nend\n```\n\nVariables are resolved from the current lexical scope, and nested table fields can be accessed using dot notation.\n\n## Alternatives\n  * [fstring via gsub](https://gist.github.com/uriid1/2b7823c096b3a697ceab7f40b4ccc54b)\n  * [fdiv via mt](https://gist.github.com/uriid1/57356bf8618d78587f2f8515d8b2ab0f)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furiid1%2Flua-format-string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furiid1%2Flua-format-string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furiid1%2Flua-format-string/lists"}