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

1.2.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 { forDate, forToday } from "@thani-sh/prayer-time-lk";

const times = forToday();
// {
//   fajr: [ 4, 46 ],
//   sunrise: [ 6, 2 ],
//   dhuhr: [ 24, 8 ],
//   asr: [ 15, 14 ],
//   maghrib: [ 18, 13 ],
//   isha: [ 19, 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

1

Version

1.2.0

License

MIT

Unpacked Size

119 kB

Total Files

8

Last publish

Collaborators

  • mnmtanish