Gets most current lottery data and histories
npm i lottery-data
- Import:
import lotteryData from 'lottery-data';
- Use:
const powerballHistory = lotteryData.powerballHistory(); const megaMillionsHistory = lotteryData.megaMillionsHistory(); const powerballDrawing = lotteryData.latestPowerbalDrawing(); const megaMillionsDrawing = lotteryData.latestMegaMillionsDrawing();
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/michael-joseph-miller/lottery-data