UNPKG

tm-essentials

Version:

A lightweight library in Node.js that provides formatting features and little additions for any development related to Trackmania.

16 lines (15 loc) 440 B
export = Accounts; declare class Accounts { /** * Transform a player login to its account uuid. Returns null if the login is invalid. * @param {string} login * @returns {string|null} */ static toAccountId(login: string): string | null; /** * Transform a player account uuid to its login. * @param {string} accountId * @returns {string} */ static toLogin(accountId: string): string; }