Socket
Book a DemoInstallSign in
Socket

all-random-words

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

all-random-words

Return specific types of words asked by user.

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Random Word Generator

This Node.js package allows you to generate random words based on different categories such as all words, animals, anime, fruits, and Pokémon.

Installation

You can install the package using npm:

npm install all-random-words

USage

const random_word = require('all-random-words');

// Generate 5 random words from all categories console.log("Any Random 5 Words:") for(let i = 0; i < 5; i++) { console.log(random_word(0)); }

// Generate 5 random animal names console.log("Any Random Animal 5 Words:") for(let i = 0; i < 5; i++) { console.log(random_word(1)); }

// Generate 5 random anime titles console.log("Any Random Anime 5 Words:") for(let i = 0; i < 5; i++) { console.log(random_word(2)); }

// Generate 5 random fruit names console.log("Any Random Fruit 5 Words:") for(let i = 0; i < 5; i++) { console.log(random_word(3)); }

// Generate 5 random Pokémon names console.log("Any Random Pokemon 5 Words:") for(let i = 0; i < 5; i++) { console.log(random_word(4)); }

License

This project is licensed under the MIT License.

Feel free to adjust the content and structure of the readme.md file as needed for your project.

Keywords

random

FAQs

Package last updated on 21 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.