{"id":15539075,"url":"https://github.com/patricklx/ember-template-tag","last_synced_at":"2025-04-13T00:50:48.009Z","repository":{"id":182802805,"uuid":"669052262","full_name":"patricklx/ember-template-tag","owner":"patricklx","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-26T08:27:49.000Z","size":404,"stargazers_count":1,"open_issues_count":12,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-09T12:45:24.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/patricklx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-07-21T08:23:34.000Z","updated_at":"2023-09-11T17:18:45.000Z","dependencies_parsed_at":"2024-02-13T23:29:07.371Z","dependency_job_id":"70e4ae06-66fc-49d9-a727-123c0904bb51","html_url":"https://github.com/patricklx/ember-template-tag","commit_stats":{"total_commits":162,"total_committers":4,"mean_commits":40.5,"dds":0.617283950617284,"last_synced_commit":"2eb802a5a8728bc5e13817bc5c6933ecb43a8900"},"previous_names":["patricklx/ember-template-preprocessor","patricklx/ember-template-tag"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricklx%2Fember-template-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricklx%2Fember-template-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricklx%2Fember-template-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricklx%2Fember-template-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patricklx","download_url":"https://codeload.github.com/patricklx/ember-template-tag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650435,"owners_count":21139672,"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-02T12:09:03.802Z","updated_at":"2025-04-13T00:50:47.980Z","avatar_url":"https://github.com/patricklx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-template-tag\n\ninstead of using ember-template-imports to find, parse \u0026 transform templates, this can be used.\n\n```js\nconst { parseTemplates, preprocessEmbeddedTemplates, transform } = require('ember-template-tag');\nconst { TEMPLATE_TAG_NAME, TEMPLATE_LITERAL_IDENTIFIER, TEMPLATE_LITERAL_MODULE_SPECIFIER } = require('ember-template-tag');\n```\n\nthe output of parseTemplates is\n```html\n\u003ctemplate\u003eHello!\u003c/template\u003e\n```\n\n```js\n[\n    {\n        \"contentRange\": [\n            10,\n            16,\n        ],\n        \"contents\": \"Hello!\",\n        \"endRange\": {\n            \"end\": 27,\n            \"start\": 16,\n        },\n        \"range\": [\n            0,\n            27,\n        ],\n        \"startRange\": {\n            \"end\": 10,\n            \"start\": 0,\n        },\n        \"tagName\": \"template\",\n        \"type\": \"template-tag\",\n    },\n]\n```\n\n\n## to transform\n\n```js\nconst { transform } = require('ember-template-tag');\nconst transformed = transform('...')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatricklx%2Fember-template-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatricklx%2Fember-template-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatricklx%2Fember-template-tag/lists"}