{"id":18005961,"url":"https://github.com/brianhicks/buildtemplate","last_synced_at":"2025-04-04T10:48:13.361Z","repository":{"id":1021833,"uuid":"849633","full_name":"BrianHicks/buildTemplate","owner":"BrianHicks","description":"a simple javascript string template","archived":false,"fork":false,"pushed_at":"2010-08-19T19:55:35.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T06:07:43.209Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/BrianHicks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-08-19T19:54:36.000Z","updated_at":"2014-04-16T12:47:12.000Z","dependencies_parsed_at":"2022-08-16T11:50:26.459Z","dependency_job_id":null,"html_url":"https://github.com/BrianHicks/buildTemplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianHicks%2FbuildTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianHicks%2FbuildTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianHicks%2FbuildTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianHicks%2FbuildTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrianHicks","download_url":"https://codeload.github.com/BrianHicks/buildTemplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247166139,"owners_count":20894652,"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-10-30T00:22:43.935Z","updated_at":"2025-04-04T10:48:13.341Z","avatar_url":"https://github.com/BrianHicks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"buildTemplate\n=============\n\nIntro\n-----\n\nThis is a small JS to take a template and return HTML (or whatever you like).\n\nUsage\n-----\n\n\ttemplateLi = \"\u003cli style='{%style%}'\u003e{%content%}\u003c/li\u003e\";\n\ttemplateOptions = {\n\t\t\"style\": \"li-style\",\n\t\t\"content\": \"Git rocks my socks.\"\n\t}\n\tbuildTemplate(templateLi, templateOptions);\n\noutputs\n\n\t\u003cli style='li-style'\u003eGit rocks my socks.\u003c/li\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianhicks%2Fbuildtemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianhicks%2Fbuildtemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianhicks%2Fbuildtemplate/lists"}