/ts-geek-joke-api

🤓 A TS wrapper for the Geek Joke API.

Primary LanguageJavaScriptThe UnlicenseUnlicense

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