{"id":18789714,"url":"https://github.com/notiz-dev/ngx-gravatar-url","last_synced_at":"2026-04-29T15:36:28.666Z","repository":{"id":103146162,"uuid":"399765132","full_name":"notiz-dev/ngx-gravatar-url","owner":"notiz-dev","description":"Gravatar Url Pipe for Angular","archived":false,"fork":false,"pushed_at":"2022-07-12T11:30:22.000Z","size":807,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-30T08:26:02.510Z","etag":null,"topics":["angular","gravatar-url"],"latest_commit_sha":null,"homepage":"https://notiz-dev.github.io/ngx-gravatar-url/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/notiz-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"notiz-dev","patreon":"notiz_dev"}},"created_at":"2021-08-25T09:37:56.000Z","updated_at":"2021-11-05T16:15:58.000Z","dependencies_parsed_at":"2023-05-22T19:00:17.553Z","dependency_job_id":null,"html_url":"https://github.com/notiz-dev/ngx-gravatar-url","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"b1c9d81491e967e2f899c64821733290a2dcd935"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notiz-dev%2Fngx-gravatar-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notiz-dev%2Fngx-gravatar-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notiz-dev%2Fngx-gravatar-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notiz-dev%2Fngx-gravatar-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notiz-dev","download_url":"https://codeload.github.com/notiz-dev/ngx-gravatar-url/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239710613,"owners_count":19684462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","gravatar-url"],"created_at":"2024-11-07T21:08:23.511Z","updated_at":"2025-12-26T05:30:14.603Z","avatar_url":"https://github.com/notiz-dev.png","language":"TypeScript","funding_links":["https://github.com/sponsors/notiz-dev","https://patreon.com/notiz_dev"],"categories":[],"sub_categories":[],"readme":"# ngx-gravatar-url\n\n[![npm version](https://badge.fury.io/js/ngx-gravatar-url.svg)](https://www.npmjs.com/package/ngx-gravatar-url)\n\nAngular Pipe to create a Gravatar URL based on [gravatar-url](https://github.com/sindresorhus/gravatar-url#readme) package.\n\n```bash\nnpm i ngx-gravatar-url gravatar-url\n```\n\nAdd the `GravatarUrlPipeModule` to your component module.\n\n```ts\nimport { GravatarUrlPipeModule } from 'ngx-gravatar-url';\nimport { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  declarations: [AppComponent],\n  imports: [BrowserModule, GravatarUrlPipeModule],\n  providers: [],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nUse the `gravatarUrl` pipe in your template\n\n```html\n\u003cimg [src]=\"user.email | gravatarUrl\" alt=\"User avatar\" /\u003e\n```\n\nPass default options to `GravatarUrlPipeModule` using the `forRoot` or `forChild` method.\n\n```ts\nimport { GravatarUrlPipeModule } from 'ngx-gravatar-url';\nimport { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  declarations: [AppComponent],\n  imports: [\n    BrowserModule,\n    GravatarUrlPipeModule.forRoot({ default: 'retro', size: 100 }),\n  ],\n  providers: [],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotiz-dev%2Fngx-gravatar-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotiz-dev%2Fngx-gravatar-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotiz-dev%2Fngx-gravatar-url/lists"}