@bockit/hex-storage

2.0.0 • Public • Published

Hex Storage

Store and retrieve values based on the q and r coordinates in a hex grid.

Usage

import grid from '@bockit/hex-storage'

let storage = grid()
storage.set(0, 0, { some: 'data' })
storage.get(0, 0) // { some: 'data' }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @bockit/hex-storage

Weekly Downloads

0

Version

2.0.0

License

BSD-3-Clause

Last publish

Collaborators

  • bockit