4.1.0 • Published 4 months ago
@thani-sh/prayer-time-lk v4.1.0
prayer-time-lk
Islamic prayer times for Sri Lanka as a JavaScript Module.
Getting Started
Install the module:
npm install @thani-sh/prayer-time-lk
Use exported functions to get prayer times.
import { getPrayerTimes } from '@thani-sh/prayer-time-lk';
const times = await getPrayerTimes();
// {
// fajr: { hour: 4, minute: 46 },
// sunrise: { hour: 6, minute: 2 },
// dhuhr: { hour: 24, minute: 8 },
// asr: { hour: 15, minute: 14 },
// maghrib: { hour: 18, minute: 13 },
// isha: { hour: 19, minute: 23}]
// }
Contributing
Pull requests are welcome. Please open a Github issue if you have any questions.