{"id":20513960,"url":"https://github.com/webreflection/plain-tag","last_synced_at":"2025-05-05T04:14:19.821Z","repository":{"id":57325506,"uuid":"276992821","full_name":"WebReflection/plain-tag","owner":"WebReflection","description":"A fast, and essential, noop/plain JS template literal tag.","archived":false,"fork":false,"pushed_at":"2024-07-29T15:17:06.000Z","size":11,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T04:13:57.293Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebReflection.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-03T21:49:48.000Z","updated_at":"2025-02-22T04:53:08.000Z","dependencies_parsed_at":"2024-12-26T18:10:46.662Z","dependency_job_id":"7227b577-931f-4701-bda2-c114a89dee67","html_url":"https://github.com/WebReflection/plain-tag","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"c4076f21151b5dbe689ea0f7390235af8e5cf581"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fplain-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fplain-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fplain-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fplain-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebReflection","download_url":"https://codeload.github.com/WebReflection/plain-tag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252436586,"owners_count":21747472,"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-15T21:14:03.423Z","updated_at":"2025-05-05T04:14:19.796Z","avatar_url":"https://github.com/WebReflection.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plain-tag\n\n[![Build Status](https://travis-ci.com/WebReflection/plain-tag.svg?branch=master)](https://travis-ci.com/WebReflection/plain-tag) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/plain-tag/badge.svg?branch=master)](https://coveralls.io/github/WebReflection/plain-tag?branch=master)\n\nA fast, and essential, noop/plain JS template literal tag.\n\n```js\nimport plainTag from 'plain-tag';\n// const plainTag  = require('plain-tag');\n// \u003cscript src=\"//unpkg.com/plain-tag\"\u003e\u003c/script\u003e\n\nplainTag`one ${2} three`;\n// output: \"one 2 three\"\n```\n\nIt could be used to trigger CSS minification too, through rollup plugins or others.\n\n```js\nimport css from 'plain-tag';\n\nconst style = css`\n  body {\n    color: green;\n  }\n`;\n```\n\n## Benchmark\n\nFollowing the result of `node test/benchmark.js` after a local install of both `fake-tag` and `noop-tag`.\n\n```\nplain: 1.359ms\nfake: 4.578ms\nnoop: 10.347ms\n```\n\nThe gist of this module fits into 89 bytes before compression.\n\n```js\nfunction(b){for(var c=b[0],a=1,d=arguments.length;a\u003cd;a++)c+=arguments[a]+b[a];return c}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebreflection%2Fplain-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebreflection%2Fplain-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebreflection%2Fplain-tag/lists"}