Skip to content

Commit

Permalink
npm and require snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanve committed Sep 11, 2016
1 parent d1a0bbe commit c6800e8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# eol
#### [Newline](http://en.wikipedia.org/wiki/Newline) character converter for JavaScript

```sh
npm install eol --save
```

```js
var eol = require('eol')
```

## API

### `eol.auto(text)`
Expand All @@ -20,4 +28,4 @@
- <b>@return</b> string with line endings normalized to `\r`

## License
MIT
MIT

0 comments on commit c6800e8

Please sign in to comment.