4.0.0 • Published 1 year ago

imgflip v4.0.0

Weekly downloads
30
License
MIT
Repository
github
Last release
1 year ago

Install

$ npm i imgflip

Usage

import Imgflip from 'imgflip'

// https://imgflip.com/signup
const imgflip = new Imgflip({
  username: `YOUR_USERNAME`,
  password: `YOUR_PASSWORD`,
})

// https://api.imgflip.com/get_memes
// Get top 100 popular meme formats
const memes = await imgflip.memes()
console.log(memes)

// Caption and download a great meme!
await imgflip.meme(`100777631`, {
  captions: [
    `PROGRAMMERS`,
    `THIS PACKAGE`,
    `IS THIS THE GREATEST PACKAGE EVER?`,
  ],
  path: `pigeon.png`,
})

npm.io

Contributing

Stars are always welcome!

For bugs and feature requests, please create an issue.

License

MIT © Tomer Aberbach

4.0.0

1 year ago

3.0.0

4 years ago

2.0.0

5 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago