Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

collapse-white-space

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collapse-white-space - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

18

package.json
{
"name": "collapse-white-space",
"version": "1.0.5",
"version": "1.0.6",
"description": "Replace multiple white-space characters with a single space",

@@ -13,2 +13,6 @@ "license": "MIT",

"bugs": "https://github.com/wooorm/collapse-white-space/issues",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

@@ -24,9 +28,9 @@ "contributors": [

"browserify": "^16.0.0",
"nyc": "^14.0.0",
"prettier": "^1.12.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^4.0.0",
"nyc": "^15.0.0",
"prettier": "^1.0.0",
"remark-cli": "^7.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",
"tinyify": "^2.5.0",
"xo": "^0.24.0"
"tinyify": "^2.0.0",
"xo": "^0.25.0"
},

@@ -33,0 +37,0 @@ "scripts": {

@@ -8,15 +8,15 @@ # collapse-white-space

Replace multiple white-space characters with a single space.
Replace multiple whitespace characters with a single space.
## Installation
## Install
[npm][npm-install]:
[npm][]:
```bash
```sh
npm install collapse-white-space
```
## Usage
## Use
```javascript
```js
var collapse = require('collapse-white-space')

@@ -31,3 +31,3 @@

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

@@ -56,3 +56,3 @@ ## License

[npm-install]: https://docs.npmjs.com/cli/install
[npm]: https://docs.npmjs.com/cli/install

@@ -59,0 +59,0 @@ [license]: license

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc