@gongfuio/hexgrid

1.0.0 • Public • Published

@gongfuio/hexgrid package

‹Hexgrid› implementation from Red Blob Games, packaged as an ES module.

Build

$ cd packages/hexgrid
$ npm install
$ npm run build

Usage

Install in your project:

$ cd webapp
$ npm install --save @gongfuio/hexgrid

Use from a module:

import { Layout } from '@gongfuio/hexgrid';

const layout = Layout.pointy;

/@gongfuio/hexgrid/

    Package Sidebar

    Install

    npm i @gongfuio/hexgrid

    Weekly Downloads

    2

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    24.9 kB

    Total Files

    6

    Last publish

    Collaborators

    • olange