Socket
Socket
Sign inDemoInstall

islamic-library

Package Overview
Dependencies
9
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    islamic-library

An NPM library providing Adkar and prayer times for Islamic applications.


Version published
Maintainers
1
Created

Readme

Source

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

  • Adkar data powered by Wick Studio's Adkar API.
  • Prayer times provided by AlAdhan Prayer Times API.
  • This package and the Adkar API's source code are available on GitHub.

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.

Keywords

FAQs

Last updated on 24 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc