0.0.3 • Published 5 years ago

lz-lottery-tool v0.0.3

Weekly downloads
12
License
-
Repository
-
Last release
5 years ago

彩票中奖结果查询

支持彩票种类

  • 双色球
  • 超级大乐透
  • 七星彩
  • 七乐彩

🏠 Homepage

Install

npm install

Run tests

npm run test

Usage

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!