A Command line Utility to get the prayer's time in Morocco by city
PLEASE SUPPORT THIS REPO WITH A STAR ⭐🌟💫
Daily prayer time in all the cities in Morocco , directly in your terminal, at the tip of your fingers
A stupid simple Command line utility to get the daily prayers time for all the citiy in Morocco
The source of the data is the Moroccan Ministery Website
npx salat [cityName]
Please note that if the cityName contains space of '
you need to use quotes, example
npx salat "el jadida"
npx salat "L'msid"
This is an exhaustive list of the supported cities :
Alternatively You can also install it globally
# Install
$ npm i -g salat
# Run with default city
$ salat
# Run with custom city
$ salat [cityName]
# The programs prints to the console the prayers' time for the current day in the default city as shown bellow:
The default city is :heart: Marrakech :heart:, set as a value for the DEFAULT_CITY
variable in ./constants.js
You can change it by replacing Marrakech
by your city name according to the values from ./data/cities.json
Please keep in mind that this is a work in progress in a very early stages, any help is appreciated and more than welcome.
If you think this piece of code is anyhow useful, please feel free to contribute
, star
:star::star: and share
🙏 🙏
This project is under the MIT license.