slugifyManual
slugifyManual(
input):string
Defined in: src/namer.ts:369
Slugify a name the human typed deliberately (a manual rename), as opposed to a prompt the heuristic namer mines for a topic. Unlike normalize this keeps EVERY word — dropping stopwords here would mangle an intentional name like “fix the login bug” into “login-bug”. Transliterates accents, lowercases, turns any run of non-alphanumerics into a single dash, trims stray edge dashes, and caps the length so it stays a sane branch/path component. Falls back to “task” when the input reduces to nothing (e.g. all punctuation).
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string