# gustavoguichard/string-ts

Strongly typed string functions

Repository: https://github.com/gustavoguichard/string-ts
Canonical: https://ross.abutalabs.com/products/string-ts
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-06-01T23:19:26+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 35, longevity 83
- inputs: {"age_days": 1167, "days_push": 93, "days_rel": 278, "gap_med": 148.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1257, forks 19 (observed 2026-08-28T04:04:09.396604+00:00)

## What it is
A TypeScript library providing common string manipulation functions (like replace, camelCase, deepCamelKeys) that preserve literal string types at both runtime and compile time. It solves the problem of losing type information when transforming string literals with standard string methods.

## Use cases
- convert string literals to camelCase while keeping precise types
- transform process.env keys with type-safe camelCase conversion
- avoid type casts when manipulating literal strings in TypeScript
- preserve union literal types after string transformations
- get strongly-typed results from string replace operations

## When to choose
- you work heavily with string literals and unions in TypeScript
- you want compile-time precision after string transformations
- you need type-safe key transformations on objects like env configs

## When to avoid
- you only manipulate plain runtime strings where type precision doesn't matter
- your project doesn't use TypeScript's strict type features
- you need locale-aware or unicode-complex string operations

## Facets
- artifact type: library
- maturity: active
- function: type-system, serialization
- domain: developer-tools, programming-languages, web-development
- platform: cross-platform
- tags: string-manipulation, literal-types, type-safe, case-conversion, utility-library, nodejs, typescript

## Member repositories
- gustavoguichard/string-ts (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:09.396604+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-30T05:07:11.675873+00:00, confidence not recorded.
  - readme: https://github.com/gustavoguichard/string-ts (fetched 2026-08-28T04:04:09.396604+00:00, sha f131f3d55009)
  - registry_npm: https://registry.npmjs.org/string-ts (fetched 2026-08-29T12:17:24.726208+00:00, sha 363a6aef0739)
- Data as of 2026-08-30T08:39:29.467469+00:00.
