{"id":4286,"url":"https://github.com/niborb/react-native-gravatar","last_synced_at":"2026-04-18T22:01:30.468Z","repository":{"id":57335549,"uuid":"54316557","full_name":"niborb/react-native-gravatar","owner":"niborb","description":"React Native Gravatar component","archived":false,"fork":false,"pushed_at":"2018-04-03T18:27:46.000Z","size":7,"stargazers_count":28,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-18T09:54:33.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niborb.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}},"created_at":"2016-03-20T12:34:05.000Z","updated_at":"2023-12-26T17:26:11.000Z","dependencies_parsed_at":"2022-09-07T15:22:26.496Z","dependency_job_id":null,"html_url":"https://github.com/niborb/react-native-gravatar","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/niborb/react-native-gravatar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niborb%2Freact-native-gravatar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niborb%2Freact-native-gravatar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niborb%2Freact-native-gravatar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niborb%2Freact-native-gravatar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niborb","download_url":"https://codeload.github.com/niborb/react-native-gravatar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niborb%2Freact-native-gravatar/sbom","scorecard":{"id":684286,"data":{"date":"2025-08-11","repo":{"name":"github.com/niborb/react-native-gravatar","commit":"0c247f221eb26ff1871504dd1e37a25a50bd6e0e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Code-Review","score":2,"reason":"Found 3/14 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: ISC License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T00:14:17.493Z","repository_id":57335549,"created_at":"2025-08-22T00:14:17.493Z","updated_at":"2025-08-22T00:14:17.493Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31986325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-01-05T20:17:06.924Z","updated_at":"2026-04-18T22:01:30.453Z","avatar_url":"https://github.com/niborb.png","language":"JavaScript","funding_links":[],"categories":["Components","Others"],"sub_categories":["UI"],"readme":"# React Native Gravatar component\n\n[![npm version](https://img.shields.io/npm/v/react-native-avatar-gravatar.svg?style=flat-square)](https://www.npmjs.com/package/react-native-avatar-gravatar)\n[![npm downloads](https://img.shields.io/npm/dm/react-native-avatar-gravatar.svg?style=flat-square)](https://www.npmjs.com/package/react-native-avatar-gravatar)\n\n\nReact Native Gravatar is a simple component that loads the avatar with an option to mask it with a circle, rounded or square shape.\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Properties](#properties)\n- [TypeScript](#typescript)\n- [Development](#development)\n\n## Installation\n```\nnpm install react-native-avatar-gravatar\n```\n\nRequires `react \u003e= 18` and `react-native \u003e= 0.70`.\n\n## Usage\n```jsx\nimport React from 'react';\nimport Gravatar from 'react-native-avatar-gravatar';\n\nconst Application = () =\u003e (\n  \u003cGravatar emailAddress=\"robin02+npm@gmail.com\" size={300} mask=\"circle\" /\u003e\n);\n\nexport default Application;\n```\n\n## Properties\n\n| Prop         | Default     | Type                                                                              | Description |\n| :----------- | :---------: | :-------------------------------------------------------------------------------: | :---------- |\n| emailAddress | `''`        | `string`                                                                          | Email address for the gravatar. If not provided the default image is used. |\n| size         | `600`       | `number`                                                                          | Requested gravatar size. The rendered image uses `size / 2` for its width/height. Pass an explicit value for best results. |\n| mask         | `'circle'`  | `'circle' \\| 'square' \\| 'rounded'`                                               | Mask shape applied to the image. |\n| defaultImage | `'retro'`   | `'404' \\| 'mm' \\| 'identicon' \\| 'monsterid' \\| 'wavatar' \\| 'retro' \\| 'robohash' \\| 'blank'` | Default gravatar style when no image is available. |\n| resizeMode   | `'contain'` | `'cover' \\| 'contain' \\| 'stretch' \\| 'repeat' \\| 'center'`                        | `resizeMode` forwarded to the underlying `Image`. |\n| secure       | `true`      | `boolean`                                                                          | When `false`, requests the image over HTTP instead of HTTPS. |\n\nAll extra `View` props are forwarded to the wrapping container.\n\n## TypeScript\n\nTypes ship with the package:\n\n```ts\nimport Gravatar, { GravatarProps, GravatarMask, GravatarDefaultImage } from 'react-native-avatar-gravatar';\n```\n\n## Development\n\n```\nnpm install\nnpm run lint\nnpm run typecheck\nnpm test\nnpm run build\n```\n\nThe compiled output (`lib/`) is generated by `tsc` and is what gets published to npm.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniborb%2Freact-native-gravatar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniborb%2Freact-native-gravatar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniborb%2Freact-native-gravatar/lists"}