Package Exports
- js-classes-examplary-module
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 (js-classes-examplary-module) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Examplary module
This is an examplary module, that is published to NPM.
Please ignore this, as this module does not provide any real functionality.
This module uses OpenDota API to search for players by player names.
Installation
npm i js-classes-examplary-moduleUsage
Create an instance of the module:
const Examplary = require('js-classes-examplary-module');
const Instance = new Examplary();Then use it in some async function:
const players = await Instance.searchPlayers('some player name');
console.log(players);