Skip to content

Commit 3b30d34

Browse files
committed
chore: fix README header
1 parent 400989c commit 3b30d34

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ember-stopwatch
1+
# ember-fakerjs
22

33
[![NPM][npm-badge-img]][npm-badge-link]
44
[![Build Status][build-status-img]][build-status-link]
@@ -27,13 +27,16 @@ ember install ember-fakerjs
2727

2828
### Helpers
2929

30-
The main helper is `faker-fake`. You can use this to generate content using the entire faker API.
31-
32-
The addon ships with the following helpers: `faker-fake`, `faker-sentence`, `faker-sentences`, `faker-text`.
30+
The list of helpers available are:
31+
- `faker-fake` use this to generate content by directly using the `faker` API
32+
- `random` utility that provides parameterized access to the `random` subsection of the `faker` API
33+
- `faker-text`, `faker-sentence`, `faker-sentences` - generate lorem content
3334

3435
Example usage:
3536

3637
```hbs
38+
{{random "number" max=100}}
39+
{{random "arrayelement" array("Link" "Ganon" "Zelda")}}
3740
{{faker-sentence 10}} {{!-- create a 10-word sentence --}}
3841
{{faker-sentences 5}} {{!-- create a 5-sentence string --}}
3942
<img src={{faker-fake "{{image.avatar}}"}} alt="avatar">

0 commit comments

Comments
 (0)