https://github.com/hasanuzzamanbe/avatar-image
This npm package will give you gravatar image from email address.
https://github.com/hasanuzzamanbe/avatar-image
avatar-generator avatar-image gravatar gravatar-image md5-hash node-package nodejs
Last synced: 7 months ago
JSON representation
This npm package will give you gravatar image from email address.
- Host: GitHub
- URL: https://github.com/hasanuzzamanbe/avatar-image
- Owner: hasanuzzamanbe
- Created: 2019-10-18T10:12:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-21T14:52:07.000Z (over 5 years ago)
- Last Synced: 2025-02-06T06:42:13.831Z (8 months ago)
- Topics: avatar-generator, avatar-image, gravatar, gravatar-image, md5-hash, node-package, nodejs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/avatar-image
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# avatar-image (get gravatar by email)
Get the gravatar image link by email address with specefic size.## Usages
Install the latest version:```npm i avatar-image```
Require the module in your code & start using:
```const avatar = require('avatar-image');```
# Documentation
#### How to use on your template:It's very easy to use, It will give you generated link from your email address with a default size of 80 px.
`avatar(email, size)` this function allows you to use two pass email and size.
after import just use anywhere from your file like this:
##### example (For specefic image size like 128 px):
`var imgLink = avatar('youremail@example.com', 128)``
##### example(by default it will give you 80 px image src link):
`var imgLink = avatar('youremail@example.com')``
# Support & Suggestion:
If you face any issue with this package please let us know about it by creating an issue on Github.
Any kind of suggestion will be appreciated.### For Help:
Please feel free to mail me hasanuzzamanbe@gmail.com
For faster response please text me on https://www.hasanuzzaman.com live chat.