# xbox_games_played

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

Latest version **1.0.1** (published 2023-04-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install xbox_games_played
pnpm add xbox_games_played
yarn add xbox_games_played
bun add xbox_games_played
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-04-17 |
| First published | 2023-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | MoskalykA |
| Maintainers | moskalyka |
| Keywords | xbox, gamerscore |

## Links

- npm: https://www.npmjs.com/package/xbox_games_played
- Repository: https://github.com/MoskalykA/xbox_games_played
- Homepage: https://github.com/MoskalykA/xbox_games_played#readme
- Issues: https://github.com/MoskalykA/xbox_games_played/issues
- npm.io page: https://npm.io/package/xbox_games_played

## Dependencies (2)

- [jsdom](https://npm.io/package/jsdom.md) ^21.1.1
- [superagent](https://npm.io/package/superagent.md) ^8.0.9

## Recent versions

- 1.0.1 (latest) — 2023-04-17
- 1.0.0 — 2023-04-17

## README

# xbox_games_played

## A function to find the number of games played from a Gamertag

### Module installation

#### With NPM

```bash
npm i xbox_games_played
```

#### With Yarn

```bash
yarn add xbox_games_played
```

#### With PNPM

```bash
pnpm add xbox_games_played
```

### Example code

#### Importing the module

```js
const gamesPlayed = require("xbox_games_played");
```

#### Retrieving the number of games played

```js
gamesPlayed
  .search("hello")
  .then((gamesPlayed) => {
    console.log(gamesPlayed); // -> 0
  })
  .catch((reason) => {
    console.error(reason);
  });
```

#### Retrieving the number of games played with asynchronous code

```js
console.log(await gamesPlayed.search("hello")); // -> 0
```

---
_Source: https://npm.io/package/xbox_games_played · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
