# react-identicon

> React Identicon ===============

Latest version **1.0.2** (published 2015-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-identicon
pnpm add react-identicon
yarn add react-identicon
bun add react-identicon
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2015-06-17 |
| First published | 2015-06-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Elie Rotenberg |
| Maintainers | elie.rotenberg |

## Links

- npm: https://www.npmjs.com/package/react-identicon
- Repository: https://github.com/elierotenberg/react-identicon
- Issues: https://github.com/elierotenberg/react-identicon/issues
- npm.io page: https://npm.io/package/react-identicon

## Dependencies (5)

- [MD5](https://npm.io/package/MD5.md) ^1.2.2
- [lodash](https://npm.io/package/lodash.md) ^3.9.3
- [should](https://npm.io/package/should.md) ^6.0.3
- [bluebird](https://npm.io/package/bluebird.md) ^2.9.30
- [pure-render-decorator](https://npm.io/package/pure-render-decorator.md) ^0.1.0

## Recent versions

- 1.0.2 (latest) — 2015-06-17
- 1.0.1 — 2015-06-16
- 1.0.0 — 2015-06-16
- 0.0.0 — 2015-06-05

## README

React Identicon
===============

Tiny React Component to render an [Identicon](http://en.wikipedia.org/wiki/Identicon) hosted by [Gravatar](https://en.gravatar.com/).

#### Usage

<<<<<<< HEAD
`<Identicon {id=''} {type='identicon'} {size=80} {...otherProps} />`
=======
1. Fork or clone this repository.
2. (Optional) Edit `package.json` if you intent to publish your package on `npm`.
3. `npm install` to install all the required dependencies from `npm`.
4. Hack `src/index.jsx` and `src/__tests__/index.jsx`.
5. Lint/test using `gulp`.
6. Don't forget to edit this `README.md` file.
>>>>>>> starterkit/master

Creates a new `<img>` tag containing a gravatar image.

- `id` is a string (which will `md5`-hashed internally). Same `id` will yield the same image. Different `id` will (most likely) yield different images.
- `type` is a string which can be either `identicon` (the default), `retro` (like github), `monsterid` or `wavatar`). This is the type of avatar generated.
- `size` is the image source in pixels. Note that this can be different from the actual display size of the image, if you specifcy `styles.height` for example.
- All other props will be passed directly to the `<img>` tag (eg. `style`, `className`, `onClick`, etc).

<<<<<<< HEAD
This module is written in ES6/7. You will need `babel` to run it.
=======
- Sanely configured `gulpfile.js`, `package.json`, `.gitignore`, `.editorconfig`, `.eslintrc`, `.jsbeautifyrc`.
- Both CommonJS and ES6 modules are supported.
- Linting and testing is pre-configured.
- `lodash`, `bluebird` and `should` are included by default.
>>>>>>> starterkit/master

#### License

MIT [Elie Rotenberg](http://elie.rotenberg.io) <[elie@rotenberg.io](mailto:elie@rotenberg.io)>

---
_Source: https://npm.io/package/react-identicon · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
