Skip to main content

Cheapshark Deals

@reset/cheapshark-dealsv2026.10.24.1· MIT· 2d agoBEHAVIORSACCEPTED WARNINGS
01README

Record PC games' prices across CheapShark's stores and flag drops.

02Behaviors1
@reset/cheapshark-dealsv2026.10.24.1cheapshark_deals.ts

Global Arguments

ArgumentTypeDescription
gameIdsarrayCheapShark game ids to follow, 1 to 25, as the search method lists them, e.g. 177485
fn search(title: string)
Search CheapShark's games by title and record the matches with their ids, to find what to configure
ArgumentTypeDescription
titlestringPart of a game's title to search for, e.g. celeste; the matches carry the ids to configure
fn sample()
Read the configured games' deals from CheapShark and record them as a new version, flagging price drops and new lows
fn summarise(since?: string)
Summarise the recorded samples: per game the lowest price seen and where, the first and latest best price, and how often it changed
ArgumentTypeDescription
since?stringOnly summarise samples recorded at or after this ISO-8601 time; all samples when omitted

Resources

deals(infinite)— The configured games' current deals, best prices and all-time lows at one moment, flagging price drops and new lows
summary(infinite)— Per game the lowest price seen and when and where, the first and latest best price, and how often it changed
matches(infinite)— The games a title search matched, with the ids to configure and each one's cheapest current price
03Stats
B
87 / 100
Downloads
5
Archive size
16.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository0/2missing

05Platforms
06Labels