1.2.4 • Published 6 years ago

icanhazdadjoke-client v1.2.4

Weekly downloads
21
License
ISC
Repository
github
Last release
6 years ago

icanhazdadjoke-client

icanhazdadjoke api node client.

Installation

npm install icanhazdadjoke-client

Usage

Note that this client is for server-side usage only, as the API has a condition that the User Agent header is modified, which is illegale in web browsers.

import ICanHazDadJokeClient from 'icanhazdadjoke-client';

const client = new ICanHazDadJokeClient();
const joke = await client.getRandomJoke();
1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

1.2.1

6 years ago

0.0.2

8 years ago

0.0.1

8 years ago