New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

avatar-me

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avatar-me - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

assets/logo_avatar_me_npm_package_google_images.png

2

lib/AvatarMe.js

@@ -53,2 +53,3 @@ const async = require('async')

this.fetchGoogleAvatar(email, (err, googleImage) => {
if (err) nextCb(null, null)
return nextCb(null, googleImage)

@@ -59,2 +60,3 @@ })

this.fethGravatarImage(email, (err, gravatarImage) => {
if (err) nextCb(null, null)
return nextCb(null, gravatarImage)

@@ -61,0 +63,0 @@ })

2

package.json
{
"name": "avatar-me",
"version": "0.1.0",
"version": "0.1.1",
"description": "Simple node module to retrieves a user avatar given an email or a user name Edit",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,5 +0,7 @@

# avatar-me
![Avatar me logo](./assets/logo_avatar_me_npm_package_google_images.png)
Simple node module to retrieves a user avatar given an email or a user name from Google, gravatar or a default image.
**Changelog:** [Change all the changes to this project here](./CHANGELOG.md)
## How to use it?

@@ -18,2 +20,3 @@

### Basic configuration

@@ -34,5 +37,5 @@ ```javascript

## Add redis cache. No more extra api calls!
### Cache configuration using Redis. No more extra api calls!
In 0.0.6 we have introduced support to cache results with Redis!
In **0.1.0** we have introduced support to cache results with Redis!
Just add redis to the avatar me config and it will create a new redis client.

@@ -39,0 +42,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc