Socket
Socket
Sign inDemoInstall

ngx-avatar

Package Overview
Dependencies
9
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

avatar.component.d.ts

60

package.json
{
"name": "ngx-avatar",
"version": "1.0.1",
"scripts": {
"build": "gulp build",
"build:watch": "gulp",
"docs": "npm run docs:build",
"docs:build": "compodoc -p tsconfig.json -n ngx-avatar -d docs --hideGenerator",
"docs:serve": "npm run docs:build -- -s",
"docs:watch": "npm run docs:build -- -s -w",
"lint": "tslint --type-check --project tsconfig.json src/**/*.ts"
},
"version": "1.0.2",
"repository": {

@@ -22,3 +13,6 @@ "type": "git",

"keywords": [
"angular"
"angular",
"avatar",
"component",
"initials"
],

@@ -29,42 +23,14 @@ "license": "MIT",

},
"devDependencies": {
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/compiler-cli": "^4.0.0",
"module": "ngx-avatar.js",
"typings": "ngx-avatar.d.ts",
"dependencies": {
"ts-md5": "^1.2.0"
},
"peerDependencies": {
"@angular/core": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@compodoc/compodoc": "^1.0.0-beta.7",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",
"codelyzer": "~2.0.0",
"core-js": "^2.4.1",
"del": "^2.2.2",
"gulp": "^3.9.1",
"gulp-rollup": "^2.11.0",
"jasmine-core": "~2.5.2",
"jasmine-spec-reporter": "~3.2.0",
"karma": "~1.4.1",
"karma-chrome-launcher": "~2.0.0",
"karma-cli": "~1.0.1",
"karma-firefox-launcher": "^1.0.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"node-watch": "^0.5.2",
"protractor": "~5.1.0",
"rollup": "^0.41.6",
"run-sequence": "^1.2.2",
"ts-md5": "^1.2.0",
"rxjs": "^5.1.0",
"ts-node": "~2.0.0",
"tslint": "~4.5.0",
"typescript": "~2.2.0",
"zone.js": "^0.8.4"
},
"engines": {
"node": ">=6.0.0"
},
"dependencies": {
"ts-md5": "^1.2.0"
}
}
}

@@ -107,6 +107,6 @@ # # <ngx-avatar>

| `bgColor` | *string* | random | Give the background a fixed color with a hex like for example #FF0000 |
| `fgColor` | *string* | #FFF | Used Give the text a fixed color with a hex like for example #FF0000 |
| `fgColor` | *string* | #FFF | Give the text a fixed color with a hex like for example #FF0000 |
| `size` | *number* | 50 | Size of the avatar |
| `textSizeRatio` | *number* | 3 | For text based avatars the size of the text as a fragment of size (size / textSizeRatio) |
| `round` | *bool* | true | Round the avatar corners |
| `round` | *boolean* | true | Round the avatar corners |
| `style` | *object* | | Style that will be applied on the root element

@@ -113,0 +113,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc