# plain-tag **Repository Path**: mirrors_WebReflection/plain-tag ## Basic Information - **Project Name**: plain-tag - **Description**: A fast, and essential, noop/plain JS template literal tag. - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2025-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # plain-tag [![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) A fast, and essential, noop/plain JS template literal tag. ```js import plainTag from 'plain-tag'; // const plainTag = require('plain-tag'); // plainTag`one ${2} three`; // output: "one 2 three" ``` It could be used to trigger CSS minification too, through rollup plugins or others. ```js import css from 'plain-tag'; const style = css` body { color: green; } `; ``` ## Benchmark Following the result of `node test/benchmark.js` after a local install of both `fake-tag` and `noop-tag`. ``` plain: 1.359ms fake: 4.578ms noop: 10.347ms ``` The gist of this module fits into 89 bytes before compression. ```js function(b){for(var c=b[0],a=1,d=arguments.length;a