Skip to content

Commit

Permalink
Refactor example in readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Apr 14, 2018
1 parent b3e24df commit 75f68b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -13,9 +13,9 @@ npm install collapse-white-space
## Usage

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

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

## API
Expand Down

0 comments on commit 75f68b4

Please sign in to comment.