{"id":18304604,"url":"https://github.com/numtel/meteor-template-from-string","last_synced_at":"2025-04-05T15:31:21.698Z","repository":{"id":26007249,"uuid":"29449815","full_name":"numtel/meteor-template-from-string","owner":"numtel","description":"Create Meteor template from String","archived":false,"fork":false,"pushed_at":"2015-11-12T11:35:59.000Z","size":155,"stargazers_count":7,"open_issues_count":4,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-04T07:51:20.380Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numtel.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":"2015-01-19T02:23:40.000Z","updated_at":"2019-11-20T08:18:02.000Z","dependencies_parsed_at":"2022-08-24T05:30:55.010Z","dependency_job_id":null,"html_url":"https://github.com/numtel/meteor-template-from-string","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/numtel%2Fmeteor-template-from-string","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fmeteor-template-from-string/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fmeteor-template-from-string/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fmeteor-template-from-string/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numtel","download_url":"https://codeload.github.com/numtel/meteor-template-from-string/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247358667,"owners_count":20926266,"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-11-05T15:29:33.556Z","updated_at":"2025-04-05T15:31:21.247Z","avatar_url":"https://github.com/numtel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# numtel:template-from-string [![Build Status](https://travis-ci.org/numtel/meteor-template-from-string.svg?branch=master)](https://travis-ci.org/numtel/meteor-template-from-string)\n\nCombined with [multiline ES6 template strings](https://babeljs.io/docs/learn-es6/#template-strings), make Blaze templates in Meteor with the Spacebars HTML code specified inside your Javascript file.\n\n## Installation\n\n```\nmeteor add numtel:template-from-string\n```\n\n## Usage\n\nExample using ES6 template string:\n```javascript\nTemplate.hello = Template.fromString(`\n  \u003cbutton\u003eClick Me\u003c/button\u003e\n  \u003cp\u003eYou've pressed the button {{counter}} times.\u003c/p\u003e\n`);\n```\n\n## Resources\n\n* [On-Demand Template Example](https://github.com/numtel/meteor-component-example) - Use this package to load templates on-demand with `iron:router`.\n* [grigio:babel](https://github.com/grigio/meteor-babel/) - Use ES6 in your main application source files\n* [Babel](https://babeljs.io/) - Core package powering ES6 -\u003e ES5 transpiling\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtel%2Fmeteor-template-from-string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumtel%2Fmeteor-template-from-string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtel%2Fmeteor-template-from-string/lists"}