# magnars/s.el

The long lost Emacs string manipulation library.

Repository: https://github.com/magnars/s.el
Canonical: https://ross.abutalabs.com/products/sel
Language: Emacs Lisp
License: GPL-3.0
License Family: copyleft
Last push: 2026-08-02T01:07:54+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 63, longevity 100
- inputs: {"age_days": 5083, "days_push": 32, "days_rel": 32, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1073, forks 98 (observed 2026-08-28T04:03:28.824302+00:00)

## What it is
s.el is a string manipulation library for Emacs written in Emacs Lisp, providing a comprehensive set of functions for trimming, splitting, joining, padding, truncating, and testing strings. It is available on MELPA and designed as a convenient API layer over Emacs's built-in string operations.

## Use cases
- manipulate strings in emacs lisp code
- trim and pad strings in emacs
- split and join strings in elisp
- check if a string starts with or ends with a prefix or suffix
- truncate long strings for display in emacs
- extract regexp matches from strings in elisp

## When to choose
- you write Emacs Lisp packages and want readable string helpers instead of raw built-ins
- you need consistent, well-tested string utilities across your Emacs configuration
- you want a small dependency available directly from MELPA

## When to avoid
- you are not working in Emacs or Emacs Lisp
- you only need one or two string operations that built-in Emacs functions already cover
- you need unicode-heavy or locale-aware text processing beyond simple manipulation

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools
- domain: developer-tools, text-editors
- platform: editor-plugin
- tags: emacs, emacs-lisp, string-manipulation, melpa, text-processing

## Member repositories
- magnars/s.el (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:28.824302+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:53:37.569495+00:00, confidence not recorded.
  - readme: https://github.com/magnars/s.el (fetched 2026-08-28T04:03:28.824302+00:00, sha c05ce545fc77)
- Data as of 2026-08-30T08:39:29.467469+00:00.
