1.0.1 • Published 4 years ago

ts-classes-examplary-module v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

Examplary module

This is an examplary module with Typescript, that is published to NPM.

Please ignore this, as this module does not provide any real functionality.

This module uses OpenDota API to load all of the available Dota 2 heroes.

Build Status

Known Vulnerabilities

Installation

npm i ts-classes-examplary-module

Usage

Create an instance of the module:

const { DotaHeroes } = require('ts-classes-examplary-module');
const Instance = new DotaHeroes();

Then use it to load the available heroes list with the getHeroes method:

const heroes = await Instance.getHeroes();
console.log(heroes);