# hexcell

> A hexagon cell for a hexgrid

Latest version **0.0.2** (published 2014-10-31) · MIT license · 0 weekly downloads

## Install

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

## 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.0.2 |
| Published | 2014-10-31 |
| First published | 2014-09-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Grant Timmerman |
| Maintainers | granttimmerman |
| Keywords | hexagon, cell, grid |

## Links

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

## Dependencies (1)

- [point2d](https://npm.io/package/point2d.md) 0.0.0

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2014-10-31
- 0.0.1 — 2014-09-15
- 0.0.0 — 2014-09-15

## README

# hexcell

A hexagon cell for a hexgrid

```sh
npm install hexcell --save
```

## Example

```js
var Point = require('point2d');
var Hexcell = require('hexcell');

var point = new Point(2, 3);
var cell = new Hexcell(point, { extraData: 3 });
console.log(cell.data.extraData); // 3
```

## Methods

### Hexcell(point2d)
Creates a hexcell at point `point2d`

### Hexcell(point2d, data)
Creates a hexcell at point `point2d` with an object `data` that contains data

### Hexcell.data
The data attached to this cell

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