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

0.1.3 • Public • Published

Wc3maps

Get maps information from wc3maps.com

Example

import { getMap } from 'wc3maps'
 
(async () => {
  // Map: https://wc3maps.com/map/43/DBZ_Tribute_Elite_v2.1c
  const mapId = 43
  // When download is true, you will receive the map on map.file
  const download = false
  const map = await getMap(mapId, download)
  console.log(map)
})()

More examples

Available methods

  • Get map
  • Get and download map
  • Get total maps
  • Get maps id per page
  • Get total maps pages

Warcraft3 GG

This repository is part of Warcraft3-GG organization

Dependencies (3)

Dev Dependencies (10)

Package Sidebar

Install

npm i wc3maps

Weekly Downloads

0

Version

0.1.3

License

ISC

Unpacked Size

9.9 kB

Total Files

22

Last publish

Collaborators

  • sansossio