Package Exports
- @mapgen/mapgen
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mapgen/mapgen) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@mapgen/mapgen
Generate random pixel map.
Usage
import { mapgen } from '@mapgen/mapgen';
import { TerminalRenderer } from '@mapgen/renderer-terminal';
import { terminal } from 'terminal-kit';
const renderer = new TerminalRenderer(terminal);
mapgen(renderer);
Result
View in terminal:
View in canvas: