# panzerdp/voca

The ultimate JavaScript string library

Repository: https://github.com/panzerdp/voca
Canonical: https://ross.abutalabs.com/products/voca
Homepage: https://vocajs.pages.dev
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript-library, string, slugify, sprintf, truncate, pad, case, javascript
Last push: 2023-08-01T14:18:16+00:00

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

## Adoption (not part of the score)
Stars 3592, forks 135 (observed 2026-08-28T04:08:11.223211+00:00)

## What it is
Voca is a comprehensive JavaScript string manipulation library offering functions for case conversion, trimming, padding, slugification, sprintf-style formatting, truncation, and escaping. It has a modular design allowing import of the whole library or individual functions, works in Node.js and browsers, and has no dependencies.

## Use cases
- convert strings to camelCase, kebabCase, or snakeCase
- slugify text for URLs
- format strings with sprintf-style placeholders
- truncate long strings with ellipsis
- pad or trim strings
- latinise accented characters
- escape HTML in strings

## When to choose
- you need a broad set of string utilities in JavaScript without pulling in heavy dependencies
- you want tree-shakeable, modular string functions for Node.js or the browser
- you need slugification, case conversion, or sprintf formatting out of the box

## When to avoid
- you only need one or two simple string operations that native JavaScript methods already cover
- your project requires a library with frequent recent updates and active development
- you need Unicode-aware text segmentation beyond basic string manipulation

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools
- domain: developer-tools, web-development
- platform: browser, cross-platform
- tags: string-manipulation, slugify, sprintf, case-conversion, truncate, pad, zero-dependencies, modular, nodejs

## Member repositories
- panzerdp/voca (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:11.223211+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-29T18:33:51.115455+00:00, confidence not recorded.
  - readme: https://github.com/panzerdp/voca (fetched 2026-08-28T04:08:11.223211+00:00, sha a56293e1f845)
  - homepage: https://vocajs.pages.dev (fetched 2026-08-29T09:27:28.387856+00:00, sha ba77aa13058b)
  - registry_npm: https://registry.npmjs.org/voca (fetched 2026-08-29T09:27:28.397999+00:00, sha 64a8af9a03bc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
