# zspecza/common-tags

🔖 Useful template literal tags for dealing with strings in ES2015+

Repository: https://github.com/zspecza/common-tags
Canonical: https://ross.abutalabs.com/products/common-tags
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: multiline-strings, string-substitution, indentation, inline, html-template, tagged-template, tagged-template-literals, composition, composable, abstraction, javascript, es6, es2015
Last push: 2021-11-16T20:12:44+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3967, "days_push": 1751, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2027, forks 62 (observed 2026-08-28T04:06:06.939370+00:00)

## What it is
common-tags is a JavaScript library of well-tested tagged template literal functions for ES2015+, covering tasks like stripping indentation, joining lines, and safely rendering HTML. It also provides utilities for composing your own template tags.

## Use cases
- strip indentation from multiline template literals in javascript
- render html strings safely with tagged templates
- join multiline template literal into one line
- format comma-separated lists inside template literals
- create custom tagged template literal functions
- handle heredoc-style strings in node

## When to choose
- you use ES2015 template literals and need cleaner multiline string handling
- you want a small, well-tested utility for html or code template tags
- you need composable helpers to build your own template tags

## When to avoid
- your project targets environments without ES2015 template literal support
- you need a full templating engine with conditionals and loops
- the project appears unmaintained and you want actively developed alternatives

## Facets
- artifact type: library
- maturity: maintenance
- function: templating, serialization, developer-tools
- domain: web-development, developer-tools, frontend
- platform: browser, cross-platform
- tags: tagged-template-literals, string-utilities, es2015, multiline-strings, html-templates, string-formatting, nodejs, javascript

## Member repositories
- zspecza/common-tags (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:06.939370+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:59:42.707929+00:00, confidence not recorded.
  - readme: https://github.com/zspecza/common-tags (fetched 2026-08-28T04:06:06.939370+00:00, sha 94782f41dbc6)
  - registry_npm: https://registry.npmjs.org/common-tags (fetched 2026-08-29T10:39:53.735254+00:00, sha ab036203ddf1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
