Add @qgisk/steamresolver to your project

yarn add @qgisk/steamresolver
npm install @qgisk/steamresolver

then import @qgisk/steamresolver in your main file and initiate the client Don't forget to use a fetch library, I suggest either isomorphic-unfetch or cross-fetch

// for modules
import SteamResolver from '@qgisk/steamresolver';

// or for commonjs
const {SteamResolver} = require('@qgisk/steamresolver)

// Your fetch library of choice
import fetch from 'isomorphic-unfetch'

const resolve = new SteamResolver(fetch);
Edit this page on GitHub Updated at Tue, Aug 16, 2022