collapse-white-space
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,7 @@ <!--remark setext--> | ||
1.0.2 / 2016-07-23 | ||
================== | ||
* Fix `readme.md` ([`03823ce`](https://github.com/wooorm/collapse-white-space/commit/03823ce)) | ||
1.0.1 / 2016-07-23 | ||
@@ -7,0 +12,0 @@ ================== |
{ | ||
"name": "collapse-white-space", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Replace multiple white-space characters with a single space", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -49,23 +49,2 @@ # collapse-white-space [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov] | ||
### `commaSeparated.stringify(values[, options])` | ||
Compile an array of strings to comma-separated tokens. | ||
Handles empty items at start or end correctly. | ||
Note that it’s not possible to specify initial or final | ||
white-space per value. | ||
###### Parameters | ||
* `values` (`Array.<string>`) — List of tokens; | ||
* `options` (`Object`, optional): | ||
* `padLeft` (`boolean`, default: `true`) | ||
— Whether to pad a space before a token; | ||
* `padRight` (`boolean`, default: `false`) | ||
— Whether to pad a space after a token. | ||
###### Returns | ||
`string` — Comma-separated tokens. | ||
## License | ||
@@ -72,0 +51,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5076
68