mirror of
https://github.com/cupcakearmy/canihazusername.git
synced 2024-11-16 10:00:56 +01:00
Merge branch 'master' of https://github.com/CupCakeArmy/canihazusername
This commit is contained in:
commit
e74d841259
13
README.md
13
README.md
@ -1,9 +1,11 @@
|
|||||||
# canihazusername
|
![logo](./docs/logo.svg)
|
||||||
|
|
||||||
Username generator. Fully typed, simple and customizable.
|
Username generator. Fully typed, simple and customizable.
|
||||||
|
|
||||||
The lists are taken from [this repo](https://github.com/imsky/wordlists) and automatically converted into json by `./generate/wordlist.js`
|
The lists are taken from [this repo](https://github.com/imsky/wordlists) and automatically converted into json by `./generate/wordlist.js`
|
||||||
|
|
||||||
|
## 🕹 [Interactive Demo](https://cupcakearmy.github.io/canihazusername/)
|
||||||
|
|
||||||
## 🏗 Install
|
## 🏗 Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -40,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
|
||||||
@ -178,3 +182,8 @@ const username = generate('{age|cats|...}')
|
|||||||
- programming
|
- programming
|
||||||
- thought
|
- thought
|
||||||
- web
|
- web
|
||||||
|
|
||||||
|
## 🙏 Credits
|
||||||
|
|
||||||
|
- Wordlist https://github.com/imsky/wordlists
|
||||||
|
- Icons made by <a href="https://www.flaticon.com/authors/smashicons" title="Smashicons">Smashicons</a> from <a href="https://www.flaticon.com/" title="Flaticon"> www.flaticon.com</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user