npm.io
0.2.3 • Published 9 years agoCLI

idoticon

Licence
MIT
Version
0.2.3
Deps
6
Vulns
0
Weekly
0
Stars
2

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

Keywords