textmap

2D map rendering in text!

textmap

2d maps all up in your command line.

npm install textmap

var map = require('textmap');
 
map(20, 10, [
  {x: 3, y: 5},
  {x: 7, y: 8}
]);
 

Outputs:

|————————————————————|
|                    |
|       •            |
|                    |
|                    |
|   •                |
|                    |
|                    |
|                    |
|                    |
|                    |
|————————————————————|