Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 20 days 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 (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-06-23T02:55:44.000Z (5 months ago)
- Last Synced: 2024-10-12T01:23:29.837Z (about 1 month 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: 331 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
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`,
})
```![](./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)