New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

random-greeting-generator

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

random-greeting-generator

Get random greetings, goodbyes, etc.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Random Greeting Generator

Utility function to generate random greetings, etc. from JSON files.

How to Use

There are utility function exports for three types of greetings: greetings, goodbyes, and oopsies.

To generate a random greeting, use randomGreeting. To generate a random goodbye, use randomGoodbye. To generate a random oopsie, use randomOopsie.

To pass in your own custom dictionary of strings, use the randomGreetingGenerator function and pass an array of strings.

Keywords

random

FAQs

Package last updated on 11 Oct 2022

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