Socket
Book a DemoInstallSign in
Socket

@didux-io/diduxicon

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@didux-io/diduxicon

Idonticons in a new colorscheme. Forked from danfinlay/jazzicon

2.0.0
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

DiduxIcon

Identicons

Live Example

Say goodbye to boring blocky identicons that look like they came out of the 70s, and replace them with colorful collages that more likely came out of the 80's. Colors are inspired on the Didux website, logo and more.

example

Installation

npm install diduxicon -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 diduxicon = require('diduxicon')

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

Example

You can run an example by installing beefy (npm i beefy brwoserify) and then running npm run start.

Example

Credits to Dan Finlay for setting up Jazz Icons.

Keywords

identicon

FAQs

Package last updated on 03 Dec 2019

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.