mirror of
https://github.com/cupcakearmy/canihazusername.git
synced 2024-11-16 10:00:56 +01:00
Update README.md
This commit is contained in:
parent
87e777afcf
commit
2c4375a338
@ -42,9 +42,11 @@ This will build a combined list and choose at random between all those words.
|
|||||||
```typescript
|
```typescript
|
||||||
import { generate } from 'canihazusername'
|
import { generate } from 'canihazusername'
|
||||||
|
|
||||||
const username = generate('{age|cats|...}')
|
const username = generate('{quantity|age|cats|}')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This example will choose a random word between the `quantity`, `age` and `cats` list.
|
||||||
|
|
||||||
## 🗂 Lists
|
## 🗂 Lists
|
||||||
|
|
||||||
- age
|
- age
|
||||||
|
Loading…
Reference in New Issue
Block a user