You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rich Trott aaee43473b tools: update to ESLint 4.1.0 8 years ago
..
LICENSE doc: add eslint-plugin-markdown 8 years ago
index.js tools: update to ESLint 4.1.0 8 years ago
package.json tools: update to ESLint 4.1.0 8 years ago
readme.md tools: update to ESLint 4.1.0 8 years ago

readme.md

collapse-white-space Build Status Coverage Status

Replace multiple white-space characters with a single space.

Installation

npm:

npm install collapse-white-space

Usage

var collapse = require('collapse-white-space');

collapse('\tfoo \n\tbar  \t\r\nbaz'); //=> ' foo bar baz'

API

collapse(value)

Replace multiple white-space characters in value with a single space.

License

MIT © Titus Wormer