🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
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

1.0.1
latest
Source
npm
Version published
Weekly downloads
3
-40%
Maintainers
1
Weekly downloads
 
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