0.0.1 • Published 12 years ago

textmap v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
12 years ago

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:

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