0.1.1 • Published 8 years ago

hex-data-gen v0.1.1

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
8 years ago

hex-data-gen

npm package to create a hexagon-shaped array of data

Install

npm install git://github.com/anbnyc/hex-data-gen.git

Usage

const HexDataGen = require('hex-data-gen');

// returns an array of objects with 7 rows with lengths: 4, 5, 6, 7, 6, 5, 4
HexDataGen(4);

// writes the same array to myFile.json
HexDataGen(4,'myFile')

Release History

  • 0.1.0 Initial Release
  • 0.1.1 Add Babel
0.1.1

8 years ago