Files
donutbrowser/src/lib/start-pages.ts
T
2026-10-12 00:52:24 +04:00

8 lines
220 B
TypeScript

/** One page per line, as the start-pages fields show and take them. */
export function startPagesFromText(text: string): string[] {
return text
.split("\n")
.map((line) => line.trim())
.filter(Boolean);
}