Miss any of our Open RFC calls?Watch the recordings here! »

globaloffensive-sharecode

1.1.1 • Public • Published

Counter Strike: Global Offensive ShareCode decoder

A ShareCode decoder for CS:GO match replay sharecodes. Based on joshuaferrara's node-csgo's sharecode decoder.

Example usage

const { ShareCode } = require('globaloffensive-sharecode');
 
const shareCode = new ShareCode('CSGO-vGqmL-vb2x2-nTQtU-e9dco-qWHzN');
const data = shareCode.decode();
 
console.log(data)
 
{ matchId: '3354591898827227340',
  outcomeId: '3354598500191961136',
  token: '7780' }

Install

npm i globaloffensive-sharecode

DownloadsWeekly Downloads

78

Version

1.1.1

License

WTFPL

Unpacked Size

38.5 kB

Total Files

7

Last publish

Collaborators

  • avatar