@metamask/jazzicon
Jazzy deterministic identicons for a more entertaining future
Last updated 6 years ago by whymarrh .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @metamask/jazzicon 
SYNC missed versions from official npm registry.

Jazzicon

Jazzy Identicons

Live Example

Say goodbye to boring blocky identicons that look like they came out of the 70s, and replace them with jazzy, colorful collages that more likely came out of the 80's.

example

Installation

npm install jazzicon -S

Usage

Takes a pixel diameter and a javascript integer (seeds the shape), and gives you back a DOM element to use as you wish!

var jazzicon = require('jazzicon')

var body = document.querySelector('body')
for(var i = 0; i < 60; i++) {
  var el = jazzicon(100, Math.round(Math.random() * 10000000))
  body.appendChild(el)
}

Example

You can run an example by installing beefy (npm i -g beefy) and then running npm run sample.

Current Tags

  • 2.0.0                                ...           latest (6 years ago)

1 Versions

  • 2.0.0                                ...           6 years ago
Downloads
Total 3
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE