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

react-identicon

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-identicon

React Identicon ===============


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

React Identicon

Tiny React Component to render an Identicon hosted by Gravatar.

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 <elie@rotenberg.io>

FAQs

Package last updated on 17 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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