open-index/open-npm huggingface dataset:
npm package: @kruhlmann/battlenetjs
Description: BattleNet API client
Author: Andreas Krülmann
Latest version: 1.0.12

# BattleNet.js

WIP battlenet node.js api.

## Usage

```ts
import { BattleNetClient, BattleNetOauthService } from "battlenetjs";

async function main(): Promise<void> {
    const service = new BattleNetOauthService("client_id", "client_secret");
    const namespace = new BattleNetNamespace(
        BattleNetBaseNamespace.WOW_CLASSIC_PROGRESSION,
        BattleNetRegion.NORTH_AMERICA,
    );
    const client = new BattleNetClient(service, namespace);
    const item = await client.get_item_by_id(19_019);
    console.log(item.name);
    const item2 = await client.get_item_by_name("Thunderfury");
    console.log(item2.name);
}
```

```txt
Thunderfury, Blessed Blade of the Windseeker
Thunderfury, Blessed Blade of the Windseeker
```
npm package: @kruhlmann/nodelock
Description: Locking utility for smart cards
Latest version: 1.1.5

# Nodelock

## Installation

```sh
curl -L https://gist.githubusercontent.com/Kruhlmann/f66c9f56676dc9c7a37f51319d5d37db/raw/23e152a08a012c384a5e3c601d3d41165f8cc04e/install.sh | sh
```