@thani-sh/prayer-time-lk
TypeScript icon, indicating that this package has built-in type declarations

4.1.0 • Public • Published

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.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @thani-sh/prayer-time-lk

Weekly Downloads

7

Version

4.1.0

License

MIT

Unpacked Size

58.8 kB

Total Files

23

Last publish

Collaborators

  • mnmtanish