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

1.0.1 • Public • Published

xbox_games_played

A function to find the number of games played from a Gamertag

Module installation

With NPM

npm i xbox_games_played

With Yarn

yarn add xbox_games_played

With PNPM

pnpm add xbox_games_played

Example code

Importing the module

const gamesPlayed = require("xbox_games_played");

Retrieving the number of games played

gamesPlayed
  .search("hello")
  .then((gamesPlayed) => {
    console.log(gamesPlayed); // -> 0
  })
  .catch((reason) => {
    console.error(reason);
  });

Retrieving the number of games played with asynchronous code

console.log(await gamesPlayed.search("hello")); // -> 0

Readme

Keywords

Package Sidebar

Install

npm i xbox_games_played

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

4.12 kB

Total Files

7

Last publish

Collaborators

  • moskalyka