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

ngx-gravatar

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-gravatar - npm Package Compare versions

Comparing version

to
2.1.2

{
"name": "ngx-gravatar",
"description": "A customizable Gravatar for Angular 4, 5 and 6+ applications - AoT compatible. It supports custom image and Gravatar sources",
"version": "2.1.1",
"description": "A customizable Gravatar for Angular 4, 5(tested) and 6+(tested) applications - AoT compatible. It supports custom image and Gravatar sources",
"version": "2.1.2",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

[![npm version](https://badge.fury.io/js/ngx-gravatar.svg)](https://badge.fury.io/js/ngx-gravatar)
[![Build Status](https://travis-ci.org/t-ho/ngx-gravatar.svg?branch=master)](https://travis-ci.org/t-ho/ngx-gravatar)
[![npm](https://img.shields.io/npm/dt/ngx-gravatar.svg)](https://www.npmjs.com/package/ngx-gravatar)
[![npm](https://img.shields.io/npm/dm/ngx-gravatar.svg)](https://www.npmjs.com/package/ngx-gravatar)
[![npm](https://img.shields.io/npm/dw/ngx-gravatar.svg)](https://www.npmjs.com/package/ngx-gravatar)

@@ -9,3 +10,3 @@ [![npm](https://img.shields.io/npm/l/ngx-gravatar.svg)](https://www.npmjs.com/package/ngx-gravatar)

The gravatar directive for angular 4, 5 and 6+. It is AoT compatible.
The gravatar directive for angular 4, 5(tested) and 6+(tested). It is AoT compatible.

@@ -26,4 +27,6 @@ This directive supports two avatar sources:

Play with ngx-gravatar [here](https://stackblitz.com/edit/ngx-gravatar-demo) on stackblitz.
Play with **ngx-gravatar** and **Angular 5** [here](https://stackblitz.com/edit/ngx-gravatar-demo) on stackblitz.
Play with **ngx-gravatar** and **Angular 6** [here](https://stackblitz.com/edit/ngx-gravatar-demo-angular-6) on stackblitz.
## Installation

@@ -87,3 +90,3 @@

| `borderWidth` | *number* | optional | | Specify the width of the border |
| `style` | *object* | optional | | Style object that will be applied on the `<img>` tag |
| `style` | *object* | optional | | Style object that will be applied on the `<img>` tag. NOTE: It will override others attributes.|
| `backgroundColor`| *string* | optional | `transparent`| Specify the background color |

@@ -90,0 +93,0 @@ | `rating` | *string* | optional | `g` | The rating string of [Gravatar](https://en.gravatar.com/site/implement/images). Possible values: `g`, `pg`, `r`, `x`. `rating` type is case-insensitive. |