mirror of
https://github.com/cupcakearmy/canihazusername.git
synced 2025-04-09 19:02:58 +00: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…
x
Reference in New Issue
Block a user