### Install getssq with npm Source: https://github.com/hohogpb/getssq/blob/main/README.md Use npm to install the getssq package. This is the standard way to add packages to your Node.js project. ```sh npm install getssq ``` -------------------------------- ### Install getssq with yarn Source: https://github.com/hohogpb/getssq/blob/main/README.md Use yarn to add the getssq package to your project dependencies. This is an alternative package manager. ```sh yarn add getssq ``` -------------------------------- ### Import and use getssq in TypeScript Source: https://github.com/hohogpb/getssq/blob/main/README.md Demonstrates how to import and use the getssq function in a TypeScript project. The function is asynchronous and returns historical data. ```ts import getssq from "getssq"; // 或者 const getssq = require("getssq"); async function main() { const data = await getssq(); console.log(data); } main(); ``` -------------------------------- ### SSQ Data Structure Type Definition Source: https://github.com/hohogpb/getssq/blob/main/README.md Defines the TypeScript type for the data returned by the getssq function. Each object represents a historical draw with detailed prize information. ```ts type SSQ = { /** 开奖期号 */ id: string; /** 开奖日期 */ date: string; /** 红号 */ red: string[]; /** 蓝号 */ blue: string; /** 红号出球顺序 */ redSeq: string[]; /** 投注总额 */ totalBet: string; /** 奖池金额 */ poolAmount: string; /** 一等注数 */ prize1Count: string; /** 一等金额 */ prize1Amount: string; /** 二等注数 */ prize2Count: string; /** 二等金额 */ prize2Amount: string; /** 三等注数 */ prize3Count: string; /** 三等金额 */ prize3Amount: string; /** 四等注数 */ prize4Count: string; /** 四等金额 */ prize4Amount: string; /** 五等注数 */ prize5Count: string; /** 五等金额 */ prize5Amount: string; /** 六等注数 */ prize6Count: string; /** 六等金额 */ prize6Amount: string; }; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.