Skip to content

Commit

Permalink
Refactor prose
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed May 17, 2019
1 parent d762ff9 commit d318d1b
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

[Porter stemming algorithm][source].

## API
## Install

Install:
[npm][]:

```bash
npm install stemmer
```

Use:
## API

```js
var stemmer = require('stemmer')
Expand All @@ -27,14 +27,6 @@ stemmer('vileness') // => 'vile'

## CLI

Install:

```sh
npm install -g stemmer
```

Use:

```txt
Usage: stemmer [options] <words...>
Expand Down Expand Up @@ -102,3 +94,5 @@ $ echo "detestable vileness" | stemmer
[author]: https://wooorm.com

[source]: https://tartarus.org/martin/PorterStemmer

[npm]: https://www.npmjs.com

0 comments on commit d318d1b

Please sign in to comment.