New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-jazzicon

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-jazzicon

React component for danfinlay/jazzicon

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.8K
decreased by-10.14%
Maintainers
1
Weekly downloads
 
Created
Source

react-jazzicon

NPM version dependencies Status devDependencies Status Known Vulnerabilities

This is a react component for Dan Finlay's jazzicon.

usage

import Jazzicon from 'react-jazzicon'

export default class App extends React.Component {

  …

  render() {
    return (
      <Jazzicon diameter={100} seed={Math.round(Math.random() * 10000000)} />
    )
  }
}

for Ethereum addresses

import Jazzicon, { jsNumberForAddress } from 'react-jazzicon'

export default class App extends React.Component {

  …

  render() {
    return (
      <Jazzicon diameter={100} seed={jsNumberForAddress('0x1111111111111111111111111111111111111111')} />
    )
  }
}

setup

$ git clone https://github.com/marcusmolchany/react-jazzicon
$ cd react-jazzicon
$ yarn # or npm i

demo page

the demo page is on the gh-pages branch in the demo folder.

# first install dependencies in the top level package
$ yarn # or npm i

# then checkout the gh-pages branch and install dependencies in the "demo" folder
$ git checkout gh-pages
$ cd demo && yarn # or npm i
$ yarn start # or npm run start

Keywords

FAQs

Package last updated on 07 Feb 2022

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