Get unlimited public & private packages + team-based management with npm Teams.Learn more »

hearthstonejson-client

0.8.6 • 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:

$ yarn add hearthstonejson-client

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

Example

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

Typings

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

Install

npm i hearthstonejson-client

DownloadsWeekly Downloads

122

Version

0.8.6

License

ISC

Unpacked Size

124 kB

Total Files

12

Last publish

Collaborators

  • avatar
  • avatar
  • avatar