# category-graph

> `npm install category-graph`

Latest version **1.0.0** (published 2016-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install category-graph
pnpm add category-graph
yarn add category-graph
bun add category-graph
```

## 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.0 |
| Published | 2016-08-27 |
| First published | 2016-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | rtorr |

## Links

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

## Recent versions

- 1.0.0 (latest) — 2016-08-27

## README

# Category Graph

`npm install category-graph`

```
/**
 * Graph
 * categories are "lines" in a Graph
 * that have a list of Node IDs that
 * point to Nodes 
 */

const b = new Graph();

b.addNode({
  id: 'test_id',
  categories: ['action_games']
});

b.addNode({
  id: 'test_id',
  categories: ['action_games', 'racing_games']
});

b.addNode({
  id: 'overwatch',
  categories: ['action_games']
});

console.log(b, b.getNode('test_id'));
```

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