Skip to content

GFDZ/nodeyourmeme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodeyourmeme

Know your meme web scraper API for node.js!

This module can search for any term, or get a random meme, and return all the information inside its "about" section.

Usage:

const nodeyourmeme = require('nodeyourmeme');

nodeyourmeme.search('ugandan knuckles').then(console.log).catch(console.error);
nodeyourmeme.random().then(console.log).catch(console.error);

Methods:

The following methods return a "meme promise", which is a promise that resolves to an object with the properties name (the name of the meme) and about (the text from the "about" section of the meme, both strings.

search(term) - Takes a string input for the search term

random() - Gets a random meme

About

node.js api for knowyourmeme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%