{"id":20592147,"url":"https://github.com/igelbox/schnurrbart","last_synced_at":"2025-08-23T00:19:08.093Z","repository":{"id":12784385,"uuid":"15458011","full_name":"igelbox/schnurrbart","owner":"igelbox","description":"Minimal template mit {{schnurrbärte}} in JavaScript","archived":false,"fork":false,"pushed_at":"2014-01-30T20:24:28.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T13:47:26.817Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igelbox.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}},"created_at":"2013-12-26T18:24:56.000Z","updated_at":"2014-01-30T20:24:29.000Z","dependencies_parsed_at":"2022-09-14T12:31:03.882Z","dependency_job_id":null,"html_url":"https://github.com/igelbox/schnurrbart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/igelbox/schnurrbart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igelbox%2Fschnurrbart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igelbox%2Fschnurrbart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igelbox%2Fschnurrbart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igelbox%2Fschnurrbart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igelbox","download_url":"https://codeload.github.com/igelbox/schnurrbart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igelbox%2Fschnurrbart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271722252,"owners_count":24809663,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"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":[],"created_at":"2024-11-16T07:42:51.491Z","updated_at":"2025-08-23T00:19:08.001Z","avatar_url":"https://github.com/igelbox.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# schnurrbart.js - Logic-full {{schnurrbärte}} templates with JavaScript\n\n## Usage\n\nBelow is quick example how to use schnurrbart.js:\n\n```js\nvar model = {\n  name: 'Schreibikus',\n  sagen: function (name) {\n    return 'Hallo ' + name + '. Ich heisse ' + this.name + '.';\n  }\n};\n\nvar output = schnurrbart(\"{{name}}: {{sagen('Welt')}}\", model);\n```\n\nIn this example, the `schnurrbart` function takes two parameters: 1) the schnurrbart template and 2) a `model` object that contains the data and code needed to render the template, and provides following `output`:\n```\nSchreibikus: Hallo Welt. Ich heisse Schreibikus.\n```\n\n-\npublished under the liberal terms of the BSD License, see the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figelbox%2Fschnurrbart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figelbox%2Fschnurrbart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figelbox%2Fschnurrbart/lists"}