# memejsfork

> Get the best memes with ease! [A fork of Nuno135/memejs]

Latest version **1.0.4** (published 2018-09-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install memejsfork
pnpm add memejsfork
yarn add memejsfork
bun add memejsfork
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-09-01 |
| First published | 2018-09-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | shadowolfyt |

## Links

- npm: https://www.npmjs.com/package/memejsfork
- Repository: https://github.com/shadowolfyt/memejs
- Homepage: https://github.com/shadowolfyt/memejs#readme
- Issues: https://github.com/shadowolfyt/memejs/issues
- npm.io page: https://npm.io/package/memejsfork

## Dependencies (1)

- [request](https://npm.io/package/request.md) ^2.88.0

## Recent versions

- 1.0.4 (latest) — 2018-09-01
- 1.0.3 — 2018-09-01
- 1.0.2 — 2018-09-01
- 1.0.1 — 2018-09-01
- 1.0.0 — 2018-09-01

## README

# memejs
Get the best memes with ease!
This npm module is a fork of (this)[https://github.com/shadowolfyt/memejs] repository.

## Installation
```bash
npm install memejsfork --save
```

## Current Subreddits
```
crappydesign
dankmemes
me_irl
wholesomememes
blackmagicfuckery
OffensiveMemes
cringepics
Unexpected
memes
technicallythetruth
2meirl4meirl
ShittyLifeProTips
AnAttemptWasMade
facepalm
iamverysmart
quityourbullshit
```

## Usage
To get the full JSON output:
```js
const meme = require('memejsfork');

meme(function(data, err) {
  if (err) return console.error(err);
  console.log(data);
});
```
To get the meme title:
```js
const meme = require('memejsfork');

meme(function(data, err) {
  if (err) return console.error(err);
  console.log(data.title[0]);
});
```
To get the meme url:
```js
const meme = require('memejsfork');

meme(function(data, err) {
  if (err) return console.error(err);
  console.log(data.url[0]);
});
```
To get the author:
```js
const meme = require('memejsfork');

meme(function(data, err) {
  if (err) return console.error(err);
  console.log(data.author[0]);
});
```
to get the subreddit:
```js
const meme = require('memejsfork');

meme(function(data, err) {
  if (err) return console.error(err);
  console.log(data.subreddit[0]);
});
```
To get the time the meme was created:
```js
const meme = require('memejsfork');

meme(function(data, err) {
  if (err) return console.error(err);
  console.log(data.created[0]);
});
```
To get the UTC time the meme was created:
```js
const meme = require('memejsfork');

meme(function(data, err) {
  if (err) return console.error(err);
  console.log(data.created_utc[0]);
});
```
To filter subreddits:
```js
const meme = require('memejsfork`');

meme('crappydesign', function(data, err) {
  if (err) return console.error(err);
  console.log(data);
});
```

---
_Source: https://npm.io/package/memejsfork · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
