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 🙏

© 2026 – Pkg Stats / Ryan Hefner

handphone-search

v1.0.0

Published

Modul untuk mencari dan mendapatkan informasi ponsel

Readme

handphone-search

npm License Downloads

Scraper sederhana untuk pencarian handphone menggunakan Node.js.


Fitur

  • Mendukung Pencarian Dinamis berdasarkan query.
  • Mengambil Detail Handphone (spesifikasi, harga, gambar).

📦 Instalasi

Pasang melalui npm:

npm install handphone-search

Atau dengan yarn:

yarn add handphone-search

🚀 Penggunaan

Gunakan dalam kode JavaScript atau Node.js:

const { searchHp } = require('handphone-search')

(async () => {
    try {
        const result = await searchHp("infinix")
        console.log(result)
    } catch (error) {
        console.error(error)
    }
})()

🚀 Output

Contoh Hasil Output:

{
  "author": "® Hams - Official",
  "query": "infinix",
  "totalAmount": 2,
  "list": [
    {
      "name": "Infinix Hot 50 Pro",
      "link": "https://carisinyal.com/hp/infinix-hot-50-pro/",
      "harga": "Rp 2.099.000",
      "spesifikasi_unggulan": [
        "Desain bodi keren dengan IP54",
        "Layar AMOLED 120 Hz dengan sensor sidik jari di dalamnya",
        "SoC Helio G100 yang mumpuni untuk gaming kasual",
        "Ada speaker stereo yang suaranya lantang",
        "Baterai 5000 mAh dengan fast charging 33W"
      ],
      "spesifikasi": {
        "umum": {
          "Tahun Rilis": "2024",
          "Jaringan": "2G, 3G, 4G",
          "SIM Card": "Dual SIM (Slot Khusus)",
          "eSIM": "Tidak"
        },
        "baterai": {
          "Jenis": "Li-Po",
          "Kapasitas": "5000 mAh",
          "Fitur": "Pengisian cepat 33W, pengisian balik, bypass charging"
        },
        "layar_utama": {
          "Jenis": "AMOLED",
          "Ukuran": "6.78 inci",
          "Refresh Rate": "120 Hz",
          "Resolusi": "1080 x 2436 piksel",
          "Rasio": "20:9",
          "Kerapatan": "393 ppi",
          "Proteksi": "Corning Gorilla Glass",
          "Fitur Lainnya": "- Tingkat kecerahan: 550 nit (khas), 1800 nit (puncak)\n- Always-on display"
        },
        "hardware": {
          "Chipset": "MediaTek Helio G100",
          "CPU": "Octa-core (2x2.2 GHz Cortex-A76 & 6x2.0 GHz Cortex-A55)",
          "GPU": "Mali-G57 MC2"
        },
        "memori": {
          "RAM": "8 GB",
          "Jenis RAM": "LPDDR4X",
          "Memori Internal": "256 GB",
          "Jenis Memori": "UFS 2.2",
          "Memori Eksternal": "Ada (Slot Khusus)"
        },
        "kamera_utama": {
          "Jumlah Kamera": "2",
          "Konfigurasi": "50 MP\n      \n           • \n      \n      \t  wide          \n      \t  • f/1.6        \t\t\n         \n\n          2 MP\n      \n           • \n      \n      \t  depth          \n      \t  • f/2.4",
          "Fitur": "AF, Dual-LED flash, panorama, Video: 1440p@30fps, 1080p@30/60fps"
        },
        "kamera_depan": {
          "Jumlah Kamera": "1",
          "Konfigurasi": "8 MP \n          \n             • \n      \n      \t  wide          \n      \t  • f/2.0",
          "Fitur": "LED flash, Video: Hingga 2K@30fps"
        },
        "konektivitas": {
          "WLAN": "Wi-Fi 802.11 a/b/g/n/ac, dual-band",
          "Bluetooth": "5.4, A2DP, LE",
          "Infrared": "Tidak Ada",
          "NFC": "Ada",
          "GPS": "GPS, A-GPS",
          "USB": "Tipe-C 2.0, USB On-The-Go"
        },
        "fitur": {
          "OS (Saat Rilis)": "Android 14, XOS 14.5",
          "Sensor": "Fingerprint (optik, di bawah permukaan layar), akselerometer, proksimitas, cahaya, kompas",
          "Jack 3.5mm": "Ada",
          "Warna": "Sleek Black, Dreamy Purple, Titanium Grey, Aurora Green",
          "Fitur Lainnya": "- Radio FM\n- Speaker stereo yang disetel JBL\n- Dukungan microSD hingga 2 TB"
        }
      },
      "cek_harga_terbaru": [
        "https://invl.io/clm34xc",
        "https://s.lazada.co.id/s.EoZr5?cc"
      ],
      "image": "https://carisinyal.com/wp-content/uploads/2024/10/Infinix-Hot-50-Pro_-1.webp"
    },
    {
      "name": "Infinix Note 40 Pro+ 5G Racing Edition",
      "link": "https://carisinyal.com/hp/infinix-note-40-pro-5g-racing/",
      "harga": "Rp 3.349.000",
      "spesifikasi_unggulan": [
        "Desain layar lengkung yang indah, tahan debu dan percikan air",
        "Layar AMOLED 120 Hz, sudah dilapisi Gorilla Glass",
        "SoC MediaTek Dimensity 7020 yang oke untuk keseharian didukung RAM 12 GB untuk multitasking",
        "Kamera utama 108 MP dengan OIS",
        "Teknologi fast charging 100 Watt dan wireless charging 20 Watt",
        "Konektivitas 5G, WiFi 5, NFC, dan infrared blaster"
      ],
      "spesifikasi": {
        "umum": {
          "Tahun Rilis": "2024",
          "Jaringan": "2G, 3G, 4G, 5G",
          "SIM Card": "Dual SIM (Slot Khusus)",
          "eSIM": "Tidak"
        },
        "baterai": {
          "Jenis": "Li-Po",
          "Kapasitas": "4600 mAh",
          "Fitur": "Pengisian cepat 100W (klaim 50% dalam 12 menit), pengisian nirkabel 20W (MagCharge), pengisian balik nirkabel, pengisian balik"
        },
        "layar_utama": {
          "Jenis": "AMOLED",
          "Ukuran": "6.78 inci",
          "Refresh Rate": "120 Hz",
          "Resolusi": "1080 x 2436 piksel",
          "Rasio": "20:9",
          "Kerapatan": "393 ppi",
          "Proteksi": "Corning Gorilla Glass",
          "Fitur Lainnya": "- 1.07 miliar warna\n- Tingkat kecerahan 1300 nit (puncak)\n- Rasio layar ke bodi 89.8%"
        },
        "hardware": {
          "Chipset": "MediaTek Dimensity 7020",
          "CPU": "Octa-core (2x2.2 GHz Cortex-A78 & 6x2.0 GHz Cortex-A55)",
          "GPU": "IMG BXM-8-256"
        },
        "memori": {
          "RAM": "12 GB",
          "Jenis RAM": "LPDDR4X",
          "Memori Internal": "256 GB",
          "Jenis Memori": "UFS 2.2",
          "Memori Eksternal": "Tidak Ada"
        },
        "kamera_utama": {
          "Jumlah Kamera": "3",
          "Konfigurasi": "108 MP\n      \n           • \n      \n      \t  wide          \n      \t  • f/1.8        \t\t\n         \n\n          2 MP\n      \n           • \n      \n      \t  macro          \n      \t  • f/2.4        \t\t\n         \n\n          2 MP\n      \n           • \n      \n      \t  depth          \n      \t  • f/2.4",
          "Fitur": "PDAF, OIS, LED flash, HDR, panorama, Video: 2K@30fps, 1080p@30/60fps, gyro-EIS"
        },
        "kamera_depan": {
          "Jumlah Kamera": "1",
          "Konfigurasi": "32 MP \n          \n             • \n      \n      \t  wide          \n      \t  • f/2.2",
          "Fitur": "Dual-LED flash, Video: 1080p@30fps"
        },
        "konektivitas": {
          "WLAN": "Wi-Fi 802.11 a/b/g/n/ac, dual-band",
          "Bluetooth": "5.2, A2DP, LE",
          "Infrared": "Ada",
          "NFC": "Ada",
          "GPS": "GPS, A-GPS",
          "USB": "Tipe-C 2.0, USB On-The-Go"
        },
        "fitur": {
          "OS (Saat Rilis)": "Android 14, XOS 14",
          "Sensor": "Fingerprint (optik, di bawah permukaan layar), akselerometer, cahaya, giroskop, proksimitas, kompas",
          "Jack 3.5mm": "Tidak Ada",
          "Warna": "Racing Grey",
          "Fitur Lainnya": "- Speaker stereo, disetel oleh JBL\n- Mikrofon ganda\n- Dukungan pemutaran audio resolusi tinggi 24-bit/192kHz\n- Extended RAM 8 GB\n- Radio FM, X-axis linear motor\n- Jaminan peningkatan OS 2x, pembaruan security patch 3 tahun"
        }
      },
      "cek_harga_terbaru": [
        "https://invl.io/clm2jfo",
        "https://s.lazada.co.id/s.C2J1j?cc"
      ],
      "image": "https://carisinyal.com/wp-content/uploads/2024/12/infinix-note-40-pro-plus-racing_.webp"
    }
  ]
}

📚 API Reference

1️⃣ searchHp(query: string)

Mencari handphone berdasarkan query.
Parameter:

  • query (string): Kata kunci pencarian (contoh: "infinix").

Return:

  • Objek JSON dengan daftar handphone yang ditemukan.

Contoh:

const result = await searchHp("infinix");
console.log(result.list); // Menampilkan daftar handphone yang ditemukan

📜 Lisensi

Lisensi MIT © Hams-Offc


❓ FAQ

Q: Apakah paket ini gratis?

✅ Ya! Paket ini bersifat open-source dan gratis digunakan.

Q: Bagaimana jika saya menemukan bug?

🔹 Silakan laporkan masalah dengan menghubungi kami Contact .