Masterminds/sprig
Useful template functions for Go templates. observed · 2026-08-28
Health v2 · maintenance only
37/100
- Activity 32
- Release rhythm 8
- Longevity 100
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: 4668
- days_rel: n/a
- days_push: 411
- n_releases_24m: 0
Adoption not part of the score
4738 stars · 476 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Sprig is a Go library providing over 100 commonly used template functions for Go's built-in text/template and html/template languages. It supplies string, math, list, dict, date, encoding, crypto, and other utility functions as a single FuncMap.
Use cases
- add string manipulation functions to Go templates
- use dict and list helpers in Go template rendering
- generate UUIDs and hashes inside templates
- format dates and do math in Go templates
- extend Helm-style templating with utility functions
When to choose
- you write Go programs that render templates and need more built-in functions
- you want a well-maintained, widely adopted FuncMap library
When to avoid
- you need template functions for languages other than Go
- you want a full template engine rather than functions for Go's standard templates
Facets
library · maturity stable
templating developer-tools developer-tools web-development go cross-platform go-templates template-functions funcmap helm automation
2 sources
- readme: https://github.com/Masterminds/sprig · fetched 2026-08-28 · cbdbfce125ee
- homepage: http://masterminds.github.io/sprig/ · fetched 2026-08-29 · 2aa96a181d32
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Masterminds/sprig | main | 37 |
For agents
markdown · JSON · MCP: product_card(name="Masterminds/sprig")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem