# idoticon

> identicon generator

Latest version **0.2.3** (published 2017-03-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install idoticon
pnpm add idoticon
yarn add idoticon
bun add idoticon
```

Provides the command `idoticon`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.3 |
| Published | 2017-03-09 |
| First published | 2017-03-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Hao |
| Maintainers | popodidi |
| Keywords | identicon, generator, dot, graph |

## Links

- npm: https://www.npmjs.com/package/idoticon
- Repository: https://github.com/popodidi/idoticon
- Issues: https://github.com/popodidi/idoticon/issues
- npm.io page: https://npm.io/package/idoticon

## Dependencies (6)

- [utf8](https://npm.io/package/utf8.md) ^2.1.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [moment](https://npm.io/package/moment.md) ^2.17.1
- [mustache](https://npm.io/package/mustache.md) ^2.3.0
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.23.0

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 0.2.3 (latest) — 2017-03-09
- 0.2.2 — 2017-03-09
- 0.2.1 — 2017-03-09
- 0.1.1 — 2017-03-08

## README

# Idoticon

[![NPM version](https://img.shields.io/npm/v/idoticon.svg?style=flat-square)](https://npmjs.org/package/idoticon)
[![Build Status](https://travis-ci.org/popodidi/idoticon.svg?branch=master)](https://travis-ci.org/popodidi/idoticon)

Idoticon provides cli to build identicon, which takes utf8 data of identifier string as inputs and leverages [Snap.svg](http://snapsvg.io) and [mustache](http://mustache.github.io) to render output `.html`.

## install
```bash
$ npm i -g idoticon
```

## usage

```
$ idoticon myIdentifier
```

### more options
```bash
$ 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
```shell
$ idoticon idoticon
```
![](example/idoticon.png)

```shell
$ idoticon -s 300 -m 10 hello
```
![](example/hello.png)

---
_Source: https://npm.io/package/idoticon · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
