Skip to content
/ nawes Public

A NPM package to autogenerate random names. Sometimes we just lack inspiration ๐Ÿ˜Ž

License

Notifications You must be signed in to change notification settings

heyma-io/nawes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NAWES

Nawes is a random name generator.

Sometimes we just need a set of name from which take inspiration for the ultimate name to create.

Table of Contents

Installation

$ npm i @heyma/nawes

Usage

const nawes = require("@heyma/nawes");

const randomName = nawes({ length: 5 }); // this will return a random name with length 5

Options

  • length

    • Type: number
    • Required: true

    The length of string that has to be generated.

  • customWord

    • Required: false
    • Default: ""

    A string of characters that in a certain way you want it to have an influence on name generation. The influence is just probabilistic.

  • weight

    • Type: number
    • Required: false
    • Default: 1

    This express the weight that you want your custom string has an influence on the generated name. The influence is just probabilistic.

About

A NPM package to autogenerate random names. Sometimes we just lack inspiration ๐Ÿ˜Ž

Topics

Resources

License

Stars

Watchers

Forks