Nightly Perpetrated Mischief

    epicwar
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.13 • Public • Published

    Epicwar

    Get maps information from epicwar.com

    Example

    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

    Available methods

    • Get map
    • Get and download map
    • Get total maps
    • Get maps categories

    Warcraft3 GG

    This repository is part of Warcraft3-GG organization

    Install

    npm i epicwar

    DownloadsWeekly Downloads

    14

    Version

    0.1.13

    License

    ISC

    Unpacked Size

    15.1 kB

    Total Files

    32

    Last publish

    Collaborators

    • sansossio