(input: string)
| 82 | * Useful for accepting input from Japanese/CJK IMEs (U+3000 → U+0020). |
| 83 | */ |
| 84 | export function normalizeFullWidthSpace(input: string): string { |
| 85 | return input.replace(/\u3000/g, ' ') |
| 86 | } |
| 87 | |
| 88 | // Keep in-memory accumulation modest to avoid blowing up RSS. |
| 89 | // Overflow beyond this limit is spilled to disk by ShellCommand. |
no outgoing calls
no test coverage detected