Skip to content

Commit

Permalink
Refactor example output in readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 18, 2017
1 parent d55eace commit ab2013e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ Use:
```js
var lancasterStemmer = require('lancaster-stemmer');

lancasterStemmer('considerations'); // consid
lancasterStemmer('detestable'); // detest
lancasterStemmer('vileness'); // vil
lancasterStemmer('giggling'); // giggl
lancasterStemmer('anxious'); // anxy
lancasterStemmer('considerations'); //=> 'consid'
lancasterStemmer('detestable'); //=> 'detest'
lancasterStemmer('vileness'); //=> 'vil'
lancasterStemmer('giggling'); //=> 'giggl'
lancasterStemmer('anxious'); //=> 'anxy'

/* Case insensitive */
lancasterStemmer('analytic') === lancasterStemmer('AnAlYtIc'); // true
lancasterStemmer('analytic') === lancasterStemmer('AnAlYtIc'); //=> true
```

## CLI
Expand Down

0 comments on commit ab2013e

Please sign in to comment.