# chidorify

> chidorify is japanese check pattern maker

Latest version **1.0.3** (published 2016-12-03) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2016-12-03 |
| First published | 2016-07-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | niiyz |
| Maintainers | niiyz |

## Links

- npm: https://www.npmjs.com/package/chidorify
- npm.io page: https://npm.io/package/chidorify

## Dependencies (1)

- [serve](https://npm.io/package/serve.md) *

## Recent versions

- 1.0.3 (latest) — 2016-12-03
- 1.0.2 — 2016-12-03
- 1.0.1 — 2016-12-03
- 1.0.0 — 2016-07-10

## README

# chidorify

chidorify is check pattern maker.

![screenshot](screenshot.png)

# Install

```
git clone https://github.com/niiyz/chidorify.git
cd chidorify
npm install
npm run test # Browser access to http://localhost:3000/
```

## Example

``` js
'use strict';

import { Chidorify } from '../chidorify';

const design = [
    [0, 1, 1, 0, 0, 1, 1, 0],
    [1, 1, 0, 0, 1, 1, 0, 0],
    [1, 0, 0, 1, 1, 0, 0, 1],
    [0, 0, 1, 1, 0, 0, 1, 1],
    [0, 1, 1, 0, 0, 1, 1, 0],
    [1, 1, 0, 0, 1, 1, 0, 0],
    [1, 0, 0, 1, 1, 0, 0, 1],
    [0, 0, 1, 1, 0, 0, 1, 1]
];

const deepColors  = ['ff1493', '191970', '556b2f', 'cd5c5c'];
const lightColors = ['eee8aa', 'fafad2', 'ffe4e1', 'ffff00'];

const chidorify = new Chidorify(design, deepColors, lightColors);
const svg = chidorify.run();
```

### Output SVG
https://jsfiddle.net/niiyz/duc9ffg7/

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