This package has been deprecated

Author message:

WARNING: This package has been renamed to "hearthstonejson-client". The package "hearthstonejson" will be eventually replaced by static versions of the Hearthstone data.

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

0.7.1 • Public • Published

HearthstoneJSON Client

Travis npm

Fetches data from HearthstoneJSON. Builds are cached in LocalStorage if available.

Install

Install the package from npm using your favourite package manager:

npm install hearthstonejson

In order to use this package in a browser you'll need something like Webpack or Browserify.

Example

import HearthstoneJSON from "hearthstonejson";
 
var hsjson = new HearthstoneJSON();
hsjson.get(13619, function(cards) {
    console.log(cards);
});

Typings

Typings for Typescript are included as index.d.ts.

Readme

Keywords

Package Sidebar

Install

npm i hearthstonejson

Weekly Downloads

8

Version

0.7.1

License

ISC

Last publish

Collaborators

  • hearthsim-admin
  • azeier
  • beheh
  • jleclanche