UNPKG

epicwar

Version:
28 lines (22 loc) 688 B
# Epicwar Get maps information from [epicwar.com](http://epicwar.com) ## Example ```ts import { epicwarGetMap } from 'epicwar' (async () => { // Map: https://www.epicwar.com/maps/1 const mapId = 1 // When download is true, you will receive the map on map.file const download = false const map = await epicwarGetMap(mapId, download) console.log(map) })() ``` [More examples](https://github.com/Warcraft3-GG/epicwar-download-maps/tree/master/examples) ## Available methods - [x] `Get map` - [x] `Get and download map` - [x] `Get total maps` - [x] `Get maps categories` ## Warcraft3 GG This repository is part of [Warcraft3-GG](https://github.com/Warcraft3-GG) organization