npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ernestoyoofi/jadwalsholat.api

v1.7.0

Published

Jadwal Sholat API dari jadwalsholat.org

Downloads

4

Readme

🕌 jadwalsholat.api

Module bukan resmi dari pembuat, module ini digunakan untuk melihat jadwal sholat diberbagai kota / provinsi diIndonesia.

Untuk cara penggunakan bisa lihat dibawah ini !

🚧 Install Module

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

🎉 Cara menggunakannya

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)
})

🐞 Permasalahan

Jika ada bug atau error kamu bisa laporkan pada halaman issues

Jika ingin menambahakan bisa pull request atau berikan label "Add Features" pada issues

📝 Sample Via Nextjs

Untuk sample atau contoh menggunakan nextjs, ada pada halaman jadwalsholat-api.vercel.app