0.1.1 • Published 3 days ago

@blizzard-api/core v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

@blizzard-api/core

This package provides core functionality to the other @blizzard-api/* packages.

Installation

npm i @blizzard-api/core

Usage

The package includes a series of types that define values that are allowed to be passed to Battle.net API.

import type { BlizzardNamespaces, Locales, Origins } from '@blizzard-api/core';

It also includes a helper function to get the origin, hostname and locale easily accessible based off a single origin.

import type { getBlizzardApi } from '@blizzard-api/core';

const { origin, hostname, locale } = getBlizzardApi('eu'); // "kr" | "tw" | "us"
0.1.1

3 days ago

0.1.0

4 days ago

0.0.9

1 month ago

0.0.8

1 month ago

0.0.7

1 month ago

0.0.6

1 month ago

0.0.5

1 month ago

0.0.4

1 month ago

0.0.3

1 month ago

0.0.2

1 month ago

0.0.1

1 month ago