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

anichin

v2.1.0

Published

Anichin API / Dracin API — Official Node.js SDK. Unified client untuk 15 sumber short drama (DramaBox, ReelShort, ShortMax, NetShort, DramaWave, FlickReels, DramaNova, Melolo, dll). REST + WebSocket, multi-quality video, subtitle multi-bahasa.

Readme

anichin — Official Node.js SDK for Anichin API (Dracin API)

npm version npm downloads License Node

Anichin Official SDK — Node.js client resmi untuk Anichin API (juga dikenal sebagai Dracin API). Satu library untuk mengakses 15 sumber short drama terunifikasi: DramaBox, ReelShort, ShortMax, NetShort, GoodShort, DramaWave, FlickReels, FreeReels, StardustTV, iDrama, DramaNova, StarShort, DramaBite, Melolo, MoboReels.

✨ Fitur

  • 🎬 15 sumber short drama dalam satu SDK (Anichin / Dracin)
  • 🔁 Skema identik — ganti sumber tanpa ubah kode
  • 📺 Multi-quality video (1080p / 720p / 540p)
  • 🌐 Subtitle multi-bahasa (hingga 23 bahasa)
  • Zero dependencies — pakai built-in fetch Node.js 18+
  • 📘 Full TypeScript types
  • 🔐 Free trial token sudah tersedia

📦 Instalasi

npm install anichin
# atau
yarn add anichin
# atau
pnpm add anichin

Membutuhkan Node.js 18+ (built-in fetch).

🚀 Quickstart

const { Anichin } = require("anichin");
// atau: import { Anichin } from "anichin";

const anichin = new Anichin(); // pakai trial token otomatis

const trending = await anichin.trending("dramabox");
console.log(`Anichin trending: ${trending.items.length} drama`);
console.log(`#1 → ${trending.items[0].title}`);

const ep = await anichin.episode("dramabox", "42000008521", 1);
console.log(`Video: ${ep.videoUrl}`);
console.log(`Quality: ${ep.qualityList.map(q => q.label).join(", ")}`);

🔑 Autentikasi

Token trial TRIAL-ANICHIN-2026 dipakai otomatis. Untuk token produksi:

const anichin = new Anichin({
  token: "YOUR-ANICHIN-PREMIUM-TOKEN",
});

Dapatkan token premium tanpa rate limit di → @Anichin_Premium_Bot.

🎯 Sumber yang Didukung

| source | Platform | Endpoint Tambahan | | ------------ | ----------- | ---------------------------------------------- | | dramabox | DramaBox | hotRank, recommended | | reelshort | ReelShort | homepage | | shortmax | ShortMax | recommended, homepage | | netshort | NetShort | recommended | | goodshort | GoodShort | homepage | | dramawave | DramaWave | recommended | | flickreels | FlickReels | hotRank | | freereels | FreeReels | homepage, hotRank | | stardusttv | StardustTV | — | | idrama | iDrama | — | | dramanova | DramaNova | hot, new_, hotPlus, drama18, romance | | starshort | StarShort | hotRank, latest | | dramabite | DramaBite | hotRank, latest | | melolo | Melolo | latest | | moboreels | MoboReels | — |

📚 API Reference

new Anichin(options?)

| Option | Default | Deskripsi | | ----------- | -------------------------- | ---------------------------- | | token | TRIAL-ANICHIN-2026 | API key. | | baseUrl | https://api.anichin.bio | Override base URL. | | userAgent | anichin-nodejs-sdk/1.0.0 | Custom User-Agent. | | timeout | 30000 | Request timeout (ms). |

Endpoint Inti

await anichin.trending(source);              // Drama trending
await anichin.forYou(source, page = 1);       // Rekomendasi paginated
await anichin.search(source, query);          // Cari drama
await anichin.detail(source, id);             // Detail + daftar episode
await anichin.episode(source, id, ep = 1);    // URL video + qualities

Endpoint Tambahan

await anichin.hotRank(source);
await anichin.recommended(source);
await anichin.homepage(source);
await anichin.latest(source, page);

// Khusus DramaNova
await anichin.hot("dramanova", page);
await anichin.new_("dramanova", page);
await anichin.hotPlus("dramanova");
await anichin.drama18("dramanova");
await anichin.romance("dramanova", page);

Static Helper

Anichin.sources();
// { dramabox: { name: "DramaBox", exampleId: "42000007806" }, ... }

💡 Contoh

Cari drama di semua sumber (parallel)

const { Anichin } = require("anichin");
const anichin = new Anichin();

const sources = Object.keys(Anichin.sources());
const results = await Promise.all(
  sources.map(src =>
    anichin.search(src, "ceo").catch(() => ({ items: [] }))
  )
);

results.forEach((r, i) => {
  console.log(`${sources[i]}: ${r.items?.length || 0} hasil`);
});

Ambil semua quality video episode 1

const ep = await anichin.episode("dramabox", "42000008521", 1);
ep.qualityList.forEach(q => {
  console.log(`${q.label}${q.isDefault ? " (default)" : ""}: ${q.url}`);
});

TypeScript

import { Anichin, AnichinSource, AnichinEpisodeResponse } from "anichin";

const anichin = new Anichin({ token: process.env.ANICHIN_TOKEN });

async function getEpisode(source: AnichinSource, id: string, ep: number) {
  const r: AnichinEpisodeResponse = await anichin.episode(source, id, ep);
  return r.videoUrl;
}

🛡 Error Handling

const { Anichin, AnichinError } = require("anichin");

try {
  await anichin.detail("dramabox", "invalid-id");
} catch (e) {
  if (e instanceof AnichinError) {
    console.error(`Anichin error [${e.status}]: ${e.message}`);
  }
}

⏱ Rate Limit

Trial token: 50 req/menit. Untuk akses produksi tanpa limit → @Anichin_Premium_Bot.

🔗 Link

🏷 Keywords

anichin · anichin-api · anichin-official · anichin-sdk · dracin · dracin-api · dramabox · reelshort · shortmax · netshort · dramawave · flickreels · dramanova · melolo · short-drama · drama-api · streaming-api · nonton-drama · indonesian-drama

📄 License

MIT © Anichin