const words = text.toLowerCase().split(/\b/)
const words = text.split(/\s+/)
New version is now live at https://tools.simonwillison.net/writing-style