Skip to content

WordWhize is a random word generator supporting multiple languages. It allows you to generate words of a specified length.

License

Notifications You must be signed in to change notification settings

liveweeeb13/WordWhize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

g

WordWhize is a random word generator supporting multiple languages. It allows you to generate words of a specified length.

Installation

To install the module, use npm:

npm install wordwhize

Usage

In JavaScript: Here’s how to use it in your JavaScript code:

const wordgenerator = require("wordwhize");

async function main() {
  let word = await wordgenerator(5, "fr"); // Generate a 5-letter word in French
  console.log(word);
}
main()

Command-line usage: To use it from the terminal, provide the word length and language as arguments:

npx wordwhize 7 en

This will generate a 7-letter word in English.

You can also use the following options:

--list to display available languages.
--support or --s to show help with support links.
--random to generate a word of random length between 1 and 20 characters.
For example:

npx wordwhize --random en

This will generate a random-length word in English.

Note:

You can customize the language code (e.g., "en" for English, "fr" for French) as needed.

Supported Languages

  • French (fr)
  • English (en)
  • Spanish (es)
  • Italian (it)
  • Romanian (ro)
  • Arabic (ar)
  • Croatian (hr)
  • Czech (cs)
  • Danish (da)
  • Dutch (nl)
  • Georgian (ka)
  • Norwegian (no)
  • Polish (pl)
  • Japanese (ja)
  • Turkish (tr)
  • Russian (ru)

Links

Try online | Help for error | Developer discord

License

This project is licensed under ISC.

Credits

Developed by liveweeeb

Pfp of liveweeeb

https://discord.com/invite/rm7fqE9Taz

About

WordWhize is a random word generator supporting multiple languages. It allows you to generate words of a specified length.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published