1.0.2 • Published 3 years ago

@woowa-babble/random-nickname v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

A Library that makes fun random nicknames.

Installation

  npm install @babble/random-nickname

  yarn add @babble/random-nickname

Introduction

  • You can choose type between animals, heroes, game characters, monsters and generate random nicknames! 🤩
  • Generated nicknames are in the form of adjective + noun.

Usage

nickname type - description

  • 'animals' - animal names
  • 'heros' - superheroes
  • 'characters' - game characters
  • 'monsters' - pokemons

    import { getRandomNickname } from '@babble/random-nickname';
    
    const type = 'animals'; // animals, heroes, characters, monsters
    const randomNickname = getRandomNickname(type);
    
    console.log(randomNickname); // 방구뀌는 다람쥐