condense-newlines

Replace extraneous newlines with a single newline, or pass a specified number of newlines to use.

Browse on unpkg