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

xnxx-dl

v3.0.1

Published

A Node.js library to search and extract video information from xnxx.com

Readme

XNXX DL

A simple Node.js library to search and extract video information from xnxx.com.

Disclaimer: This library is for educational and personal use only. The author is not responsible for misuse.

📦 Installation

npm install xnxx-dl

🚀 Usage

const xnxx = require("xnxx-dl");

(async () => {
  // Search for videos by keyword
  const result = await xnxx.search("Mia Khalifa"); // returns array of objects { title, url }

  if (result.length >= 1) {
    // Get detailed info of the first video URL
    const info = await xnxx.getInfo(result[0].url);
    console.log(info);
  }
})();

Example Output

{
  url: 'https://www.xnxx.com/video-dzrou9c/mia_khalifa_pussy_fuck',
  dlink: 'https://cdn77-vid-mp4.xnxx-cdn.com/nHep9rDF8hEI4TFbZDmyYQ==,1755261645/videos/mp4/0/5/e/xvideos.com_05e335e4e9763effb85644dae5b3e2ca.mp4?ui=MzguNTYuMjE3LjE1LS0vdmlkZW8tZHpyb3U5Yy9taWFfa2hhbGlmYV9wdXM=',
  title: 'Mia khalifa pussy fuck',
  thumbnail: 'https://cdn77-pic.xnxx-cdn.com/videos/thumbs169xnxxll/05/e3/35/05e335e4e9763effb85644dae5b3e2ca/05e335e4e9763effb85644dae5b3e2ca.5.jpg',
  views: 4124800,
  duration: '05:46',
  likes: '2,533',
  rating: '97.06%'
}

📚 API

search(query: string, page?: number): Promise<{ title: string, url: string }[]>

  • query — Video search term.
  • page (optional, default 0) — Page number for search results.
  • returns — Array of objects containing:
    • title — Video title.
    • url — Video page URL.

getInfo(url: string): Promise<VideoInfo>

  • url — Video page URL.

  • returns — Object containing:

    • url (string) — Video page URL.
    • dlink (string | undefined) — Direct video link if available.
    • title (string) — Video title.
    • thumbnail (string | undefined) — Thumbnail URL.
    • views (number) — Number of views.
    • duration (string) — Video duration in HH:MM:SS.
    • likes (string | undefined) — Number of likes.
    • rating (string | undefined) — Video rating or score.