Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

ts-geek-joke-api

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

ts-geek-joke-api

A TypeScript wrapper for the Geek Joke API

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

ts-geek-joke-api

A TypeScript wrapper for the Geek Joke API - returns a random, funny quote.

Installation

npm i ts-geek-joke-api
# or
yarn add ts-geek-joke-api

Usage

import { getQuote } from "ts-geek-joke-api";

console.log(getQuote()); // will return a random quote (just call the function, it will return a string from the Geek Joke API)

Made this as a 5 min (less) build when I was bored watching Netflix at 2am. 😅

@FilippoFonseca

FAQs

Package last updated on 21 May 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