{"id":20864874,"url":"https://github.com/ljqx/tager","last_synced_at":"2025-06-10T09:04:58.235Z","repository":{"id":65514046,"uuid":"159616199","full_name":"ljqx/tager","owner":"ljqx","description":"A bunch of helpful tags for template strings.","archived":false,"fork":false,"pushed_at":"2018-11-29T07:29:00.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T15:25:31.515Z","etag":null,"topics":["template-literals","template-string"],"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/ljqx.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":"2018-11-29T06:08:00.000Z","updated_at":"2023-03-04T05:18:11.000Z","dependencies_parsed_at":"2023-01-26T21:01:12.326Z","dependency_job_id":null,"html_url":"https://github.com/ljqx/tager","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/ljqx%2Ftager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljqx%2Ftager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljqx%2Ftager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljqx%2Ftager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ljqx","download_url":"https://codeload.github.com/ljqx/tager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljqx%2Ftager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259043768,"owners_count":22797160,"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":["template-literals","template-string"],"created_at":"2024-11-18T05:44:51.305Z","updated_at":"2025-06-10T09:04:58.215Z","avatar_url":"https://github.com/ljqx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tager\nA bunch of helpful tags for [template strings](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals).\n\n## Install\n```\nnpm install tager\n```\n## API\n\n### crlf =\u003e string\n\n```js\ncrlf`multi\nline\nstring\n`\n// =\u003e 'multi\\r\\nline\\r\\nstring\\r\\n'\n```\n### identity =\u003e string\n\n```js\nidentity`${1} template string`\n// =\u003e 1 template string\n// same as `${1} template string`\n```\n### lf =\u003e string\n\n```js\nlf`multi\nline\nstring\n`\n// =\u003e 'multi\\nline\\nstring\\n'\n```\n### lines =\u003e string[]\n\n```js\nlines`multi\nline\nstring\n`;\n// =\u003e ['multi', 'line', 'string', '']\n```\n### regexp =\u003e RegExp\n\n```js\nregexp`\\w+${1 + 1}*\\node_modules/${'.bin'}`;\n// =\u003e /\\w+2*\\node_modules\\/.bin/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fljqx%2Ftager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fljqx%2Ftager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fljqx%2Ftager/lists"}