Skip to content

Commit

Permalink
Refactor prose
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 25, 2020
1 parent b9732fe commit c030236
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
[![Downloads][downloads-badge]][downloads]
[![Size][size-badge]][size]

Remove spaces and tabs around line-breaks.
Remove spaces and tabs around line breaks.

## Installation
## Install

[npm][]:

```bash
```sh
npm install trim-lines
```

## Usage
## Use

```js
var trimLines = require('trim-lines')
Expand All @@ -28,8 +28,9 @@ trimLines(' foo\t\n\n bar \n\tbaz ') // => ' foo\nbar\nbaz '
### `trimLines(value)`

Remove initial and final spaces and tabs at the line breaks in `value`
(`string`). Does not trim initial and final spaces and tabs of the value
itself. Returns the trimmed value.
(`string`).
Does not trim initial and final spaces and tabs of the value itself.
Returns the trimmed value.

## License

Expand Down

0 comments on commit c030236

Please sign in to comment.