open-index/open-npm huggingface dataset:
npm package: @mapgen/mapgen
Description: A pixel-art map generator
Author: katsanva
Latest version: 1.1.1

# `@mapgen/mapgen`

Generate random pixel map.

## Usage

```ts
import { mapgen } from '@mapgen/mapgen';
import { TerminalRenderer } from '@mapgen/renderer-terminal';
import { terminal } from 'terminal-kit';

const renderer = new TerminalRenderer(terminal);

mapgen(renderer);
```

## Result

View in [terminal](/packages/renderer-terminal):

![Rendered to console](/images/terminal.euclidean.png)

View in [canvas](/packages/renderer-canvas):

![Rendered to canvas](/images/canvas.png)
npm package: @mapgen/renderer-canvas
Description: Canvas renderer for pixel-art map generator mapgen
Author: katsanva
Latest version: 1.1.0

# `@mapgen/renderer-canvas`

Render generated map to terminal

## Usage

```ts
import { CanvasRenderer } from '@mapgen/renderer-canvas';
import { mapgen } from '@mapgen/mapgen';

const canvas = document.getElementById('canvas') as HTMLCanvasElement;
const renderer = new CanvasRenderer(canvas);

mapgen(renderer);
```

## Result

![Rendered to canvas](/images/canvas.png)
npm package: @mapgen/renderer-terminal
Description: Terminal renderer for pixel-art map generator mapgen
Author: katsanva
Latest version: 1.1.0

# `@mapgen/renderer-terminal`

Render created map to terminal.

## Usage

As far terminal has only 256 colors a basic color mapping is performed via [color difference calculation](https://en.wikipedia.org/wiki/Color_difference):

- Euclidean (default)

```ts
import { mapgen } from '@mapgen/mapgen';
import { TerminalRenderer } from '@mapgen/renderer-terminal';
import { terminal } from 'terminal-kit';

const renderer = new TerminalRenderer(terminal);

mapgen(renderer);
```

![Rendered to console](/images/terminal.euclidean.png)

- CIEDE2000

```ts
import { mapgen } from '@mapgen/mapgen';
import { TerminalRenderer, CIEDE2000ColorResolver } from '@mapgen/renderer-terminal';
import { terminal } from 'terminal-kit';

const renderer = new TerminalRenderer(terminal, new CIEDE2000ColorResolver());

mapgen(renderer);
```

![Rendered to console](/images/terminal.ciede2000.png)
npm package: @mapgis-materials/admin-lite
Description: 该模板适用于从 0 到 1 开始搭建项目，内置基础的页面，路由和菜单展示。
Author: mapgis&parndeedlit
Latest version: 2.0.0

# Admin Lite
> 该模板适用于从 0 到 1 开始搭建项目，内置基础的页面，路由和菜单展示。
npm package: @mapgis/appbuilder
Description: appbuilder CLI for develop project/material-collection/component.
Latest version: 10.3.4

# iceworks CLI

CLI for iceworks.

## Features

- init project by scaffold
- develop material collection
- init single component by scaffold
- start iceworks ui

## Usage

```bash
$ npm i iceworks -g
# start iceworks ui
$ iceworks
# init project/component/material-collection
$ iceworks init
```