textmap

0.0.1 • Public • Published

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:

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

Readme

Keywords

none

Package Sidebar

Install

npm i textmap

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • tgvashworth