# welshpowell

> graph coloring with welsh powell

Latest version **1.0.1** (published 2016-01-08) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2016-01-08 |
| First published | 2016-01-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | rsk7 |
| Maintainers | rsk7 |
| Keywords | graph, graph coloring, coloring, welsh, powell |

## Links

- npm: https://www.npmjs.com/package/welshpowell
- Repository: https://github.com/rsk7/welsh-powell
- Homepage: https://github.com/rsk7/welsh-powell#readme
- Issues: https://github.com/rsk7/welsh-powell/issues
- npm.io page: https://npm.io/package/welshpowell

## 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

- 1.0.1 (latest) — 2016-01-08
- 1.0.0 — 2016-01-08
- 0.0.3 — 2016-01-08
- 0.0.1 — 2016-01-08

## README

## Install
```javascript
npm install welshpowell --save-dev
```

## Usage
```javascript
let color = require("welshpowell");

let graph = {
    vertices: ['a', 'b', 'c'],
    edges: [['a', 'b'], ['b', 'c']]
};

// returns an array with colors
// matching the index of the vertices
// passed in.
let colors = color(graph);

console.log(colors);

// output [0, 1, 0]
// 'a' => 0, 'b' => 1, 'c' => 0
```

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