wordwhize
v1.1.3
Published
A random word generator with support for multiple languages.
Maintainers
Readme
WordWhize
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 wordwhizeUsage
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 enThis 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 enThis 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
![]()
https://discord.com/invite/rm7fqE9Taz
