lz-lottery-tool
v0.0.3
Published
<h1 align="center">Welcome to lz-lottery-tool 👋</h1> <p> <a href="https://www.npmjs.com/package/lz-lottery-tool" target="_blank"> <img alt="Version" src="https://img.shields.io/npm/v/lz-lottery-tool.svg"> </a> <a href="https://github.com/lzunta
Downloads
16
Readme
彩票中奖结果查询
支持彩票种类
- [x] 双色球
- [x] 超级大乐透
- [x] 七星彩
- [x] 七乐彩
🏠 Homepage
Install
npm installRun tests
npm run testUsage
import { Ssq } from 'lz-lottery-tool';
const {
getSsqLotteryLevel,
} = Ssq;
// 查询是否中奖
// 我的彩票号码
const myLottery = '1 2 3 4 5 6 7';
// 中奖号码
const resultLottery = '1 2 3 4 5 6 7';
// 双色球中奖查询
const result = getSsqLotteryLevel(parseSsqString(myLottery), parseSsqString(resultLottery));Give a ⭐️ if this project helped you!
