Module

util

Classes

Queue

Members

static constant enumerateErrorFormat

View Source lib/util/enumerateErrorFormat.js, line 6

Methods

static checkEnvironmentVariables()

View Source lib/util/checkEnvironmentVariables.js, line 6

async static convertVanity()

View Source lib/util/convertVanity.js, line 7

async static getSteamProfile()

View Source lib/util/getSteamProfile.js, line 6

static shuffle()

Randomize array element order in-place. Using Durstenfeld shuffle algorithm.

View Source lib/util/shuffle.js, line 6

static templateString()

Produces a function which uses template strings to do simple interpolation from objects.

Usage: const makeMeKing = generateTemplateString('${name} is now the king of ${country}!');

console.log(makeMeKing({ name: 'Bryan', country: 'Scotland'})); // Logs 'Bryan is now the king of Scotland!'

View Source lib/util/templateString.js, line 13