textmap

2D map rendering in text!

npm install textmap
1 downloads in the last week
4 downloads in the last month

textmap

2d maps all up in your command line.

Use:

npm install textmap

var map = require('textmap');

map(20, 10, [
  {x: 3, y: 5},
  {x: 7, y: 8}
]);

Outputs:

|————————————————————|
|                    |
|       •            |
|                    |
|                    |
|   •                |
|                    |
|                    |
|                    |
|                    |
|                    |
|————————————————————|
npm loves you