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

randime-scraper

v1.0.1

Published

Scraper untuk mencari anime di Randime

Readme

randime-scraper

npm License Downloads

Scraper sederhana untuk mengambil informasi anime dari Randime menggunakan Node.js.


Fitur

  • Scraping Data Anime dari situs Randime.moe.
  • Mendukung Pencarian Dinamis berdasarkan query.
  • Mengambil Detail Anime (judul, deskripsi, gambar, genre).

📦 Instalasi

Pasang melalui npm:

npm install randime-scraper

Atau dengan yarn:

yarn add randime-scraper

🚀 Penggunaan

Gunakan dalam kode JavaScript atau Node.js:

const { fetchAnimeList } = require('randime-scraper')

(async () => {
    try {
        const result = await fetchAnimeList("ki")
        console.log(result)
    } catch (error) {
        console.error("Error:", error)
    }
})();

🔍 Hasil Output

Contoh hasil JSON yang dikembalikan:

{
  "status": true,
  "baseUrl": "https://www.randime.moe/anime/search",
  "query": "ki",
  "totalResult": 2,
  "author": "© Hams - Official",
  "list": [
    {
      "imageUrl": "https://www.randime.moe/_next/image?url=https%3A%2F%2Fmedia.kitsu.app%2Fanime%2Fposter_images%2F5949%2Foriginal.jpg&w=640&q=75",
      "name": "Maken-Ki!",
      "description": "Based on the manga series by Hiromitsu Takeda, this romantic comedy is about Takeru Ohyama, a typical perverted teenage boy. His new school doesn't require entrance exams, and it just turned co-ed! Unfortunately, his dreams of a happy high school life are dashed when he finds out the school is much more than it seems. All of the students wield a special item—a Maken—to unleash their magical abilities in duels! Can Takeru find a Maken that works for him? Even while trying to fit in at a new school and dealing with all kinds of girl problems?\n\n(Source: FUNimation)",
      "url": "https://www.randime.moe/anime/5949",
      "genre": [
        "Martial Arts",
        "Super Power",
        "School",
        "Harem",
        "Action",
        "Ecchi"
      ],
      "review": {
        "Hulu": "https://www.hulu.com/maken-ki-battling-venus"
      }
    },
    {
      "imageUrl": "https://www.randime.moe/_next/image?url=https%3A%2F%2Fmedia.kitsu.app%2Fanime%2Fposter_images%2F7275%2Foriginal.jpg&w=640&q=75",
      "name": "Maken-Ki! Two",
      "description": "Takeru continues his education at Tenbi Academy as part of the newly formed Security Committee. As a team with the other members, they battle unscrupulous individuals who use their Maken for evil purposes. In the meantime, his libido and the conflicting romantic interests of the girls surrounding him complicate matters considerably.\n\n(Source: ANN)",
      "url": "https://www.randime.moe/anime/7275",
      "genre": [
        "Martial Arts",
        "Super Power",
        "School",
        "Harem",
        "Action",
        "Ecchi"
      ],
      "review": {
        "Hulu": "https://www.hulu.com/maken-ki-battling-venus"
      }
    }
  ]
}

📚 API Reference

1️⃣ fetchAnimeList(query: string)

Mencari anime berdasarkan query.
Parameter:

  • query (string): Kata kunci pencarian (contoh: "one punch man").

Return:

  • Objek JSON dengan daftar anime yang ditemukan.

Contoh:

const result = await fetchAnimeList("naruto");
console.log(result.list); // Menampilkan daftar anime yang ditemukan

🛠 Dependencies


📜 Lisensi

Lisensi MIT © 2025 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 .