
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@ernestoyoofi/jadwalsholat.api
Advanced tools
Module bukan resmi dari pembuat, module ini digunakan untuk melihat jadwal sholat diberbagai kota / provinsi diIndonesia.
Untuk cara penggunakan bisa lihat dibawah ini !
Kamu bisa menggunakan dua cara. Jika module tidak tersedia pada node package manager, kamu bisa install lewat git dengan cara
npm i https://github.com/ernestoyoofi/jadwalsholat.api
Namun jika tersedia pada npm atau node package manager bisa install dengan cara
npm i @ernestoyoofi/jadwalsholat.api
pertama kamu bisa lihat configurasi dibawah ini.
// Lihat contoh pada file ./test.js
const dayNow = new Date()
const configs = {
// (Permintaan!) Pada bawaan akan tersedia untuk jakarta "31"
// Pada bagian kota, kamu bisa lihat pada halaman
// https://github.com/cahyadsn/wilayah#data-kepmendagri-no-050-145-tahun-2022 pada id_prov
kota: 34,
// (Tambahan)
prov: 0,
// (Kostume data) Pada pengaturan ini, kamu bisa sesuaikan pada bulan yang diinginkan
bulan: dayNow.getMonth() + 1,
// (Kata lain parameter) Parameter ini, bahasa inggris dari parameter "bulan"
mounth: dayNow.getMonth() + 1,
// (Kostume data)
tahun: dayNow.getFullYear(),
// (Kata lain parameter) Parameter ini, bahasa inggris dari parameter "tahun"
year: dayNow.getFullYear(),
// (Tambahan) Jika ubah ke false, maka logs tidak terekam / tidak diperlihatkan di console
logs:true
}
Lalu kamu bisa gunakan dengan cara
// Lihat contoh pada file ./test.js
const JadwalSholatAPI = require("@ernestoyoofi/jadwalsholat")
JadwalSholatAPI.jadwal(configs)
.then((data) => {
console.log(data)
})
Jika ada bug atau error kamu bisa laporkan pada halaman issues
Jika ingin menambahakan bisa pull request atau berikan label "Add Features" pada issues
Untuk sample atau contoh menggunakan nextjs, ada pada halaman jadwalsholat-api.vercel.app
FAQs
Jadwal Sholat API dari jadwalsholat.org
We found that @ernestoyoofi/jadwalsholat.api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.