1.0.1 • Published 2 years ago

ts-geek-joke-api v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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