isomorphic JS module and cli tool to generate
wipmap
maps
yarn add chevalvert/wipmap-generate
wipmap-generate
Usage:
wipmap-generate <X> <Y>
wipmap-generate -x=<X> -y<Y>
wipmap-generate <X> <Y> -o map.json
wipmap-generate <X> <Y> -o map.json -o map.png
Options:
-h, --help Show this screen.
-v, --version Print the current version.
-o, --output <file> Write generated map in <file>.
import wipmap from 'wipmap-generate'
const [x, y] = [0, 0]
const opts = {}
const map = wipmap(x, y, opts)