Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sajadtorkamani/funny-joke

An NPM package that gives you a joke.
https://github.com/sajadtorkamani/funny-joke

Last synced: 23 days ago
JSON representation

An NPM package that gives you a joke.

Awesome Lists containing this project

README

        

## Install

```shell
npm install funny-joke
```

## Usage

### Use as ESM module

```javascript
import funnyJoke from 'funny-joke'
```

### Use as CommonJS module

```javascript
const funnyJoke = require('funny-joke')
```

### Use in browser from a script tag

```html

console.log(window.funnyJoke())

```