Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng2-avatar

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-avatar - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

package.json
{
"name": "ng2-avatar",
"version": "2.0.3",
"version": "2.0.4",
"repository": {

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

@@ -24,3 +24,3 @@ # ng2-avatar

import { AvatarComponent } from 'ng2-avatar';
import { AvatarModule } from "ng2-avatar";

@@ -34,3 +34,4 @@ @NgModule({

FormsModule,
HttpModule
HttpModule,
AvatarModule.forRoot()
],

@@ -51,10 +52,10 @@ providers: [],

# Configuration
| configuration option | type | default | description |
|----------------------|:------:|:------------:|---------------------------------------------------------------------------------------|
| email | String | '' | This email is for generated the initials letters or get the picture from Gravatar API |
| name | string | '' | This name is for generated the initials letters |
| size | number | 100 | Is the size of the image and avatar |
| background | string | Random color | The background colors for the letter's avatar |
| displayType | string | none | none,circle,rounded |
| letter | string | ? | These are the default letter |
| configuration option | type | default | description |
|:---------------------|:------:|:------------:|:-------------------------------------------------------------------------------------------------|
| email | String | none | This email is for generated the initials letters or get the picture from Gravatar API (required) |
| name | string | none | This name is for generated the initials letters (required) |
| size | number | 100 | Is the size of the image and avatar |
| background | string | Random color | The background colors for the letter's avatar |
| displayType | string | circle | none, circle, rounded |
| letter | string | ? | These are the default letter |

@@ -61,0 +62,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