islamic-library

1.0.0 • Public • Published

Islamic Library by Wick Studio

Islamic Library Package is a Node.js library developed by Wick Studio, offering easy access to Islamic Adkar (supplications) and prayer times based on location.

Features

  • Morning, evening, and night Adkar.
  • Prayer times for any given location.

Installation

npm install islamic-library

Usage

Adkar

const { getMorningAdkar, getEveningAdkar, getNightAdkar } = require('islamic-library');

// Fetch Morning Adkar
getMorningAdkar().then(adkar => {
    console.log(adkar);
});

// Fetch Evening Adkar
getEveningAdkar().then(adkar => {
    console.log(adkar);
});

// Fetch Night Adkar
getNightAdkar().then(adkar => {
    console.log(adkar);
});

Prayer Times

const { getPrayerTimes } = require('islamic-library');

// Fetch Prayer Times
getPrayerTimes(latitude, longitude).then(prayerTimes => {
    console.log(prayerTimes);
});

API Reference

  • Morning, Evening, Night Adkar : Fetch respective Adkar.
  • Prayer Times : Fetch prayer times using latitude and longitude.

Credits and Acknowledgments

Connect with Wick Studio

Contributing

Contributions are welcome. Please follow the guidelines:

  • Clean, commented code.
  • Update tests and README as needed.
  • Adhere to the existing code style.

License

Licensed under the MIT License.

Package Sidebar

Install

npm i islamic-library

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

8.32 kB

Total Files

11

Last publish

Collaborators

  • wick_studio