# codinglove-scraper

> Scraper for codinglove.com to get the top programming memes

Latest version **1.0.0** (published 2019-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install codinglove-scraper
pnpm add codinglove-scraper
yarn add codinglove-scraper
bun add codinglove-scraper
```

## 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 | 2019-04-15 |
| First published | 2019-04-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Captien |
| Maintainers | carbowix |
| Keywords | codinglove |

## Links

- npm: https://www.npmjs.com/package/codinglove-scraper
- Repository: https://github.com/Carbowix/codinglove-scraper
- Homepage: https://github.com/Carbowix/codinglove-scraper#readme
- Issues: https://github.com/Carbowix/codinglove-scraper/issues
- npm.io page: https://npm.io/package/codinglove-scraper

## Dependencies (1)

- [scrape-it](https://npm.io/package/scrape-it.md) ^5.1.4

## Recent versions

- 1.0.0 (latest) — 2019-04-15

## README

# codinglove-scraper
Scraper for thecodinglove.com to get the top programming memes

## Installation

```bash
npm install --save codinglove-scraper
```

## Examples

```js
const memes = require('codinglove-scraper');

memes.getRandomMeme().then(meme => {
  console.log(meme);
});

/*
  {  
    title: 'When my IDE starts freezing',
    gif: 'https://ljdchost.com/010/AwNF3gA.gif' 
  }
*/
```

```js
const memes = require('codinglove-scraper');

memes.getTrendMemes().then(memeObject => {
  console.log(memeObject);
});

/*
  { memes:
   [ { title: 'When the intern starts his new development',
       gif: 'https://ljdchost.com/036/nBEq44e.gif' },
     { title: 'When I start my code review',
       gif: 'https://ljdchost.com/036/G54jULB.gif' },
     { title: 'When I notice that my coworker forgot to lock his session',
       gif: 'https://ljdchost.com/036/a2osBaY.gif' },
     { title: 'When I think I know how to properly use a framework',
       gif: 'https://ljdchost.com/036/G5adUtJ.gif' } ] }
*/
```

```js
const memes = require('codinglove-scraper');

memes.searchMeme("test").then(result => {
  console.log(result);
});

/*
  { results:
   [ { title: 'When I launch my unit tests',
       gif: 'https://ljdchost.com/036/3DoQpb8.gif' },
     { title: 'When I realize that I’ve mixed up production with test',
       gif: 'https://ljdchost.com/036/SMjC7ZH.gif' },
     { title:
        'When I tell the PM that I’m done with a feature and he launches the unit tests',
       gif: 'https://ljdchost.com/036/NBAq7xi.gif' },
     { title: 'When all my unit tests pass at first launch',
       gif: 'https://ljdchost.com/036/UoL7sXo.gif' } ] }
*/
```

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