Masterminds/sprig
Some data may be outdated — see provenance labels.
Useful template functions for Go templates. observed · 2026-09-21
Health v2 · maintenance only
34/100
- Activity 24
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4716
- days_rel: n/a
- days_push: 459
- n_releases_24m: 0
Adoption not part of the score
4743 stars · 475 forks observed · 2026-09-21
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-09-21 · cbdbfce125ee
- homepage: http://masterminds.github.io/sprig/ · fetched 2026-08-29 · 2aa96a181d32
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Masterminds/sprig | main | 34 |
For agents
markdown · JSON · MCP: product_card(name="Masterminds/sprig")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem