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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@slrmyapi/mlreg

v2.0.6

Published

API untuk semakan ID Mobile Legends

Readme

🎯 MLREG API - @slrmyapi/mlreg

Pakej MLREG API membolehkan anda menyemak ID Mobile Legends (MLBB) dan mendapatkan maklumat lengkap seperti nickname, negara, mata wang & bahasa rasmi dengan mudah.


📦 Pemasangan

npm install @slrmyapi/mlreg


📥 Cara Penggunaan

const { getmlreg } = require("@slrmyapi/mlreg");

// Contoh: Semak ID MLBB dengan User ID & Zone ID
getmlreg("634941640", "8524").then(console.log);

/*
Output:
{
  "status": "success",
  "mlreg_data": {
    "user_id": "634941640",
    "server_id": "8524",
    "nickname": "Univ+Anuu.",
    "country_code": "MY",
    "status": "invalid",
    "icon": "success"
  },
  "country_data": {
    "nama": "Malaysia",
    "penduduk": 33600000,
    "emoji": "🇲🇾",
    "kod_telefon": "+60",
    "mata_wang": {
      "kod": "MYR",
      "simbol": "RM",
      "nama": "Ringgit Malaysia"
    },
    "nombor_cukai": {
      "jenis": "Nombor Pengenalan Cukai",
      "nama_rasmi": "Nombor Pengenalan Cukai Malaysia (TIN)"
    },
    "bahasa_rasmi": {
      "kod": "ms",
      "nama_melayu": "Melayu",
      "nama_asal": "Bahasa Melayu"
    },
    "rantau": "Asia Tenggara",
    "global_selatan": true
  },
  "devInfo": {
    "GitHub": "https://github.com/slrmyshopofficial",
    "NPM": "@slrmyapi",
    "WhatsApp": "+601136871190",
    "Instagram": "@slrmyshopofficial"
  }
}
*/

📌 Contoh Kod

const { getmlreg } = require("@slrmyapi/mlreg");

async function getmlreg(userId, zoneId) {
    try {
        const result = await getmlreg(userId, zoneId);
        if (result.status !== "success") {
            console.log("⚠️ Error:", result.message);
        } else {
            console.log("✅ Keputusan:", result);
        }
    } catch (error) {
        console.error("❌ API Bermasalah:", error);
    }
}

// Contoh penggunaan:
getmlreg("634941640", "8524");

📊 Penerangan Data dalam Respons API

| Nama Kunci | Penerangan | |------------------|---------------| | status | Status permintaan API (success/error). | | mlreg_data.user_id | ID Pengguna Mobile Legends. | | mlreg_data.server_id | ID Server Mobile Legends. | | mlreg_data.nickname | Nama pengguna dalam permainan. | | mlreg_data.country_code | Kod negara pengguna berdasarkan MLBB. | | mlreg_data.status | Status ID MLBB sama ada sah atau tidak. | | mlreg_data.icon | Ikon status permintaan. | | country_data.nama | Nama negara pengguna berdasarkan kod negara MLBB. | | country_data.penduduk | Jumlah penduduk negara tersebut. | | country_data.emoji | Bendera emoji negara pengguna. | | country_data.kod_telefon | Kod telefon antarabangsa negara pengguna. | | country_data.mata_wang.kod | Kod mata wang rasmi negara. | | country_data.mata_wang.simbol | Simbol mata wang rasmi. | | country_data.mata_wang.nama | Nama mata wang penuh. | | country_data.nombor_cukai.jenis | Jenis nombor pengenalan cukai negara. | | country_data.nombor_cukai.nama_rasmi | Nama rasmi nombor cukai negara. | | country_data.bahasa_rasmi.kod | Kod bahasa rasmi negara. | | country_data.bahasa_rasmi.nama_melayu | Nama bahasa dalam bahasa Melayu. | | country_data.bahasa_rasmi.nama_asal | Nama asal bahasa dalam skrip asal. | | country_data.rantau | Rantau atau kawasan geografi negara. | | country_data.global_selatan | Status sama ada negara tergolong dalam Global Selatan. | | devInfo.GitHub | Pautan GitHub pembangun API. | | devInfo.NPM | Pakej NPM API ini. | | devInfo.WhatsApp | Nombor WhatsApp pemaju API. | | devInfo.Instagram | Akaun Instagram pemaju API. |


📌 Ciri-ciri Pakej

  • ✅ Tunjukkan maklumat negara, mata wang, bahasa rasmi dalam respons
  • ✅ Mudah digunakan dalam bot WhatsApp, website, atau sistem automasi

👨‍💻 Developer Info