# iancoleman/strcase

A golang package for converting to snake_case or CamelCase

Repository: https://github.com/iancoleman/strcase
Canonical: https://ross.abutalabs.com/products/strcase
Language: Go
License: MIT
License Family: permissive
Last push: 2023-11-29T16:07:18+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3981, "days_push": 1008, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1143, forks 115 (observed 2026-08-28T04:03:44.920278+00:00)

## What it is
strcase is a Go package for converting strings between naming conventions such as snake_case, CamelCase, kebab-case, and custom delimited formats. It supports configurable acronym handling for consistent conversions.

## Use cases
- convert strings to snake_case in Go
- convert identifiers to camelCase
- generate kebab-case names from arbitrary text
- handle acronyms like API or PostgreSQL in case conversion
- normalize database column names to Go struct field names

## When to choose
- you need a small, focused, dependency-free case conversion utility in Go
- you need configurable acronym handling in camelCase conversions
- you want screaming snake or custom delimiter variants

## When to avoid
- you need case conversion in a language other than Go
- you need Unicode-aware or locale-specific casing beyond ASCII identifiers

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, parser, developer-tools
- domain: developer-tools, programming-languages, text-editors
- platform: go, cross-platform
- tags: string-manipulation, case-conversion, snake-case, camel-case, kebab-case, naming-conventions

## Member repositories
- iancoleman/strcase (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.920278+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-30T06:34:55.668457+00:00, confidence not recorded.
  - readme: https://github.com/iancoleman/strcase (fetched 2026-08-28T04:03:44.920278+00:00, sha 31f7ea63496a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
