# monkeyuser

> MonkeyUser library allow fetch comic strip

Latest version **1.0.0** (published 2020-03-22) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2020-03-22 |
| First published | 2020-03-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 (+26 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Author | rafael.pivatto |
| Maintainers | rafaelpivatto |
| Keywords | monkey, user, monkeyuser |

## Links

- npm: https://www.npmjs.com/package/monkeyuser
- Repository: https://github.com/rafaelpivatto/monkeyuser
- Homepage: https://github.com/rafaelpivatto/monkeyuser#readme
- Issues: https://github.com/rafaelpivatto/monkeyuser/issues
- npm.io page: https://npm.io/package/monkeyuser

## Dependencies (3)

- [axios](https://npm.io/package/axios.md) ^0.19.2
- [parser](https://npm.io/package/parser.md) ^0.1.4
- [xml2js](https://npm.io/package/xml2js.md) ^0.4.23

## Recent versions

- 1.0.0 (latest) — 2020-03-22

## README

<img src="https://www.monkeyuser.com/assets/images/logo.svg" width="150">

# MonkeyUser

**It`s a fan library to allow fetch random comic strip in [monkeyuser.com](https://www.monkeyuser.com/), as described by authors:**

> All in all it’s an effort of two inappropriate developers trying to make others laugh. MonkeyUser was created out of a desire to bring joy to people working in IT by making life a little less boring, but mostly because it’s a lot of fun for us.

## Features

- Fetch and return a random and single comic strip between 200+ comics in total.

## Installing

```bash
$ npm install monkeyuser
```

## Usage example

```js
const monkeyuser = require("monkeyuser");

monkeyuser
  .getRandomComic()
  .then(response => {
    // handle success
    console.log(response);
  })
  .catch(error => {
    // handle error
    console.log(error);
  });
```

## Response example

```json
{
  "data": {
    "img": "https://www.monkeyuser.com/assets/images/2017/72-santas-smart-contract.png",
    "title": "Santa's Smart Contract",
    "link": "https://www.monkeyuser.com/2017/santas-smart-contract/",
    "pubDate": "Sun, 24 Dec 2017 02:00:00 +0200",
    "copyright": "https://www.monkeyuser.com/"
  },
  "success": true
}
```

### Copyright

All images rights reserved to [monkeyuser.com](https://www.monkeyuser.com/)

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