Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix typo.
  • Loading branch information
Ben Randall authored and dzcpy committed Jul 31, 2019
1 parent f9adc9a commit 086df46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -119,7 +119,7 @@ __Options:__ (optional)

### transliterate.config([optionsObj], [reset = false])

Bind options object globally so any following calls will be using `optoinsObj` as default. If `optionsObj` is omitted, it will return current default options object.
Bind options object globally so any following calls will be using `optionsObj` as default. If `optionsObj` is omitted, it will return current default options object.

```javascript
import { transliterate as tr } from 'transliteration';
Expand Down Expand Up @@ -215,7 +215,7 @@ slugify('你好,世界', { ignore: ['你好'] });

### slugify.config([optionsObj], [reset = false])

Bind options globally so any following calls will be using `optoinsObj` by default. If `optionsObj` argument is omitted, it will return current default option object.
Bind options globally so any following calls will be using `optionsObj` by default. If `optionsObj` argument is omitted, it will return current default option object.

```javascript
slugify.config({ lowercase: false, separator: '_' });
Expand Down

0 comments on commit 086df46

Please sign in to comment.