Skip to content

Commit

Permalink
Add yarnpkg to readme#installation
Browse files Browse the repository at this point in the history
  • Loading branch information
millerized committed Jan 6, 2018
1 parent 5e97b70 commit 34f9f79
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -5,7 +5,13 @@ A small library that truncates a string. It can insert or append an ellipsis (or

## Installation

`npm install --save smart-truncate`
```bash
# With yarn.
yarn add smart-truncate;

# With npm.
npm install --save smart-truncate;
```

## Syntax
```js
Expand Down

0 comments on commit 34f9f79

Please sign in to comment.