Socket
Socket
Sign inDemoInstall

ts-geek-joke-api

Package Overview
Dependencies
9
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ts-geek-joke-api

A TypeScript wrapper for the Geek Joke API


Version published
Weekly downloads
1
Maintainers
1
Install size
856 kB
Created
Weekly downloads
 

Readme

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

Last updated on 21 May 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc