Socket
Book a DemoInstallSign in
Socket

islamic-library

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

islamic-library

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

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
5
66.67%
Maintainers
1
Weekly downloads
 
Created
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

islam

FAQs

Package last updated on 24 Jan 2024

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.