Skip to content

Commit

Permalink
docs: Add usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Skelton committed Mar 25, 2021
1 parent 703ce28 commit 279ba3b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ i18next.use(printKeys).init({
})
```

### Example

```js
i18next.t('key') // key
i18next.t('key', { count: 1 }) // key {"count":1}
```

## Releasing

This extension uses [semantic-release](https://github.com/semantic-release/semantic-release) to automatically increment the release based on the commit message. Checkout [their docs](https://github.com/semantic-release/semantic-release#how-does-it-work) for more details.

0 comments on commit 279ba3b

Please sign in to comment.