@vighnesh153/random-word
v0.4.7
Published
Generate a random word
Downloads
21
Maintainers
Readme
@vighnesh153/random-word
Generate a random word (ESM only)
Usage
import { generateRandomWord } from '@vighnesh153/random-word';
const randomWord = generateRandomWord();
console.log(randomWord);
CLI
npx @vighnesh153/random-word
In script
<!--More on JS Deliver: https://www.jsdelivr.com/-->
<script src="https://cdn.jsdelivr.net/npm/@vighnesh153/random-word/dist/main.umd.js"></script>
<script>
const randomWord = RandomWord.generateRandomWord();
// rest of the code below
</script>