@pikilee/random-username
v2.0.0
Published
Generate random usernames.
Downloads
25
Readme
Installation
NPM
npm install @pikilee/random-username
Yarn
yarn add @pikilee/random-username
PNPM
pnpm install @pikilee/random-username
Usage
import { random } from "@pikilee/random-username";
random() // => "开心的河马"
random("en") => // "Fearless Cat"
API
random(language = "zh-Hans")
Get a random username.
language
Supports: en
, zh-Hans
Default: zh-Hans