Add nbsp Add (non-breaking space) to text. Installation npm install add-nbsp Usage import { addNbsp } from 'add-nbsp' document.body.textContent = addNbsp('What are they doing?')