zspecza/common-tags
🔖 Useful template literal tags for dealing with strings in ES2015+ observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3967
- days_rel: n/a
- days_push: 1751
- n_releases_24m: 0
Adoption not part of the score
2027 stars · 62 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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
library · maturity maintenance
templating serialization developer-tools web-development developer-tools frontend browser cross-platform tagged-template-literals string-utilities es2015 multiline-strings html-templates string-formatting nodejs javascript
2 sources
- readme: https://github.com/zspecza/common-tags · fetched 2026-08-28 · 94782f41dbc6
- registry_npm: https://registry.npmjs.org/common-tags · fetched 2026-08-29 · ab036203ddf1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| zspecza/common-tags | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="zspecza/common-tags")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem