Skip to content

Commit

Permalink
Updates version 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
TehZarathustra committed Nov 8, 2022
1 parent a938b13 commit c79ac12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ app.get('/', function (req, res) {
// or both of them at the same time
topText: 'Meme',
bottomText: 'Generator',
// for local image you can use path 'img/folder/image.jpg'
url: 'https://i.imgur.com/7FHoSIG.png'
})
.then(function(data) {
Expand All @@ -51,4 +52,3 @@ app.get('/', function (req, res) {

app.listen(PORT, () => console.log(`Listening on ${ PORT }`));
```
The `url` field can be a web link (e.g. `url: 'https://i.imgur.com/7FHoSIG.png'`) or a local image file (e.g. `url: 'img/folder/image.jpg'`)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"request": "^2.88.0"
},
"name": "nodejs-meme-generator",
"version": "1.0.4",
"version": "1.0.5",
"description": "Nodejs promise-based meme generator, it takes an image as url and top/bottom text to generate meme as Buffer",
"main": "index.js",
"devDependencies": {},
Expand Down

0 comments on commit c79ac12

Please sign in to comment.