(input: string)
| 89 | | ListFailedError |
| 90 | |
| 91 | function slugify(input: string) { |
| 92 | return input |
| 93 | .trim() |
| 94 | .toLowerCase() |
| 95 | .replace(/[^a-z0-9]+/g, "-") |
| 96 | .replace(/^-+/, "") |
| 97 | .replace(/-+$/, "") |
| 98 | } |
| 99 | |
| 100 | function failedRemoves(...chunks: string[]) { |
| 101 | return chunks.filter(Boolean).flatMap((chunk) => |