Socket
Socket
Sign inDemoInstall

@qgisk/jokeapi-wrapper

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qgisk/jokeapi-wrapper

Wrapper for Joke API


Version published
Maintainers
1
0

Weekly downloads

Readme

Source

Joke API Client for NodeJS

NPM version NPM downloads CodeQL Test package

A Node.js wrapper for the JokeAPI with only one dependency isomorphic-unfetch.

• Installation

npm i @qgisk/jokeapi-wrapper

• Example Project

Discord Bot | Source

• JokeAPI Documentation

For the full wrapper documentation checkout this

For complete API documentation, up-to-date parameters, responses and errors, please refer to JokeAPI.

• Quick Start Example

// Import the wrapper library
import JokeAPI from '@qgisk/jokeapi-wrapper';

// Initiate the client
const JokeClient = new JokeAPI();

// Create a function that gets a joke
const get = async () => {
  const joke = await JokeClient.getJoke();
  console.log(joke);
};

// Execute the function
get();

• Inspiration

miscavage

• License

MIT

Keywords

FAQs

Last updated on 10 Dec 2021

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