https://github.com/tomeraberbach/imgflip
📷 A module for the interacting with the Imgflip API.
https://github.com/tomeraberbach/imgflip
api api-wrapper image-captions images imgflip imgflip-api meme-generator memes node-js node-module nodejs npm-module npm-package
Last synced: 11 months ago
JSON representation
📷 A module for the interacting with the Imgflip API.
- Host: GitHub
- URL: https://github.com/tomeraberbach/imgflip
- Owner: TomerAberbach
- License: mit
- Created: 2018-07-13T00:49:59.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2024-10-15T03:34:03.000Z (over 1 year ago)
- Last Synced: 2025-06-26T19:14:57.165Z (12 months ago)
- Topics: api, api-wrapper, image-captions, images, imgflip, imgflip-api, meme-generator, memes, node-js, node-module, nodejs, npm-module, npm-package
- Language: TypeScript
- Homepage: https://npm.im/imgflip
- Size: 643 KB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
imgflip
The memiest Imgflip API wrapper around!
## Install
```sh
$ npm i imgflip
```
## Usage
```js
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`,
})
```

## Contributing
Stars are always welcome!
For bugs and feature requests,
[please create an issue](https://github.com/TomerAberbach/imgflip/issues/new).
## License
[MIT](https://github.com/TomerAberbach/imgflip/blob/main/license) ©
[Tomer Aberbach](https://github.com/TomerAberbach)