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.
 
 
 
 
 
 
Vse Mozhet Byt e5ca046c0a
build, doc, tools: add eslint-plugin-markdown
8 years ago
..
LICENSE build, doc, tools: add eslint-plugin-markdown 8 years ago
index.js build, doc, tools: add eslint-plugin-markdown 8 years ago
package.json build, doc, tools: add eslint-plugin-markdown 8 years ago
readme.md build, doc, tools: add eslint-plugin-markdown 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