ustring is a lightweight string utility library providing common string operations such as toLowerFirst, toUpperFirst, hyphenate, humanize, camelize, endsWith, and validation helpers like is.alphanum and is.match. Current stable version is 1.4.1, with no active development (last release in 2017). It uses a simple CommonJS export pattern and has no dependencies. Alternative libraries include lodash and ramda, but ustring is smaller and more focused on string manipulation.
npm install ustringNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic string transformations: toUpperFirst, hyphenate, camelize, endsWith, and alphanumeric check.
Use ustring.toUpperFirst instead.
Ensure arguments are strings if strict type checking is needed.
Do not rely on ustring.is.email; use a dedicated email validator.
Use ustring.toUpperFirst('abc')Run 'npm install ustring' and ensure require path is correct.
No dependency data recorded yet.