{"id":13561799,"url":"https://github.com/lukewestby/elm-string-interpolate","last_synced_at":"2025-03-25T17:31:43.417Z","repository":{"id":57675168,"uuid":"46676923","full_name":"lukewestby/elm-string-interpolate","owner":"lukewestby","description":"Inject values from a list into a template. Useful for i18n and templated copy.","archived":false,"fork":false,"pushed_at":"2019-08-02T08:47:04.000Z","size":19,"stargazers_count":30,"open_issues_count":2,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-21T01:07:11.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elm","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/lukewestby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-22T19:48:37.000Z","updated_at":"2023-11-04T19:54:51.000Z","dependencies_parsed_at":"2022-09-02T15:02:11.129Z","dependency_job_id":null,"html_url":"https://github.com/lukewestby/elm-string-interpolate","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukewestby%2Felm-string-interpolate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukewestby%2Felm-string-interpolate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukewestby%2Felm-string-interpolate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukewestby%2Felm-string-interpolate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukewestby","download_url":"https://codeload.github.com/lukewestby/elm-string-interpolate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221364356,"owners_count":16805880,"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":"2024-08-01T13:01:01.287Z","updated_at":"2024-10-29T17:35:12.430Z","avatar_url":"https://github.com/lukewestby.png","language":"Elm","funding_links":[],"categories":["Elm"],"sub_categories":[],"readme":"# String.Interpolate\n[![Build Status](https://travis-ci.org/lukewestby/elm-string-interpolate.svg)](https://travis-ci.org/lukewestby/elm-string-interpolate)\n\nInject values from a list into a template. Useful for i18n and templated copy.\n\n## Documentation\n\n`String.Interpolate` exports one function `interpolate : String -\u003e List String\n-\u003e String`. The input string should use the format `\"first arg: {0}, second\narg: {1}\"` and so on.\n\n**Example:**\n```elm\nimport String.Interpolate exposing(interpolate)\n\noutput : String\noutput =\n  interpolate \"My name is {0} {1}\" [\"Luke\", \"Westby\"]\n\nmain = show output {- \"My name is Luke Westby\" -}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukewestby%2Felm-string-interpolate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukewestby%2Felm-string-interpolate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukewestby%2Felm-string-interpolate/lists"}