/idoticon

Dot identicon generator

Primary LanguageJavaScript

Idoticon

NPM version Build Status

Idoticon provides cli to build identicon, which takes utf8 data of identifier string as inputs and leverages Snap.svg and mustache to render output .html.

install

$ npm i -g idoticon

usage

$ idoticon myIdentifier

more options

$ idoticon -h
  Usage: idoticon [options] [identifier]

  Options:

    -h, --help                 output usage information
    -s, --size [size]          size, default to 500
    -m, --margin [margin]      margin, default to 20
    -o, --output [outputPath]  Output destination, default to ./idoticon/
    -f, --file [fileName]      Output file name, default to YYYYMMDD-{identifier}

example

$ idoticon idoticon

$ idoticon -s 300 -m 10 hello