Update README.md

This commit is contained in:
Nicco 2020-02-06 10:17:14 +01:00 committed by GitHub
parent 87e777afcf
commit 2c4375a338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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