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

@omindudissanayaka/movie-api

v1.0.0

Published

The unofficial scrap for Sinhalasub

Readme

Status GitHub Issues GitHub Pull Requests License


🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

npm i @omindudissanayaka/movie-api

🎈 Usage

const sinhalasub = require('@omindudissanayaka/movie-api');

const api = new sinhalasub()

Get Sinhalasub Search

const result = await api.search(keyword, apiKey);
console.log(JSON.stringify(result, null, 2));
{
  "code": 200,
  "code_creator": {
    "name": "Omindu_Dissanayaka",
    "github": "@OmiduAnjane",
    "group": "Nex Dev Group"
  },
  "results": {
    "movies": [
      {
        "title": "Ballerina (2023) Sinhala Subtitles | සිංහල උපසිරසි සමඟ",
        "link": "https://sinhalasub.lk/movies/ballerina-2023-sinhala-subtitles/",
        "rating": "N/A",
        "year": "2023",
        "description": "Ballerina Sinhala Sub Ballerina Sinhala Subtitles Ballerina (2023) Sinhala Sub Ballerina (2023) Sinhala Subtitles සුභ දවසක් හැමෝටම!! Native Title: 발레리나 Screenwriter & Director: Lee Chung Hyun ...",
        "image": "https://sinhalasub.lk/wp-content/uploads/2023/10/gQPdTNJQ2O9MOtaJ4nB8yJKEl63-150x150.jpg",
        "type": "Movie"
      }
    ],
    "tvshows": [
      {
        "title": "Money Heist (2017 – 2021) Sinhala Subtitles | සිංහල උපසිරසි සමඟ",
        "link": "https://sinhalasub.lk/tvshows/money-heist-2017-sinhala-subtitles/",
        "rating": "IMDb 8.3",
        "year": "2017",
        "description": "To carry out the biggest heist in history, a mysterious man called The Professor recruits a band of eight robbers who have a single characteristic: none of them has anything to lose. Five months ...",
        "image": "https://sinhalasub.lk/wp-content/uploads/2021/12/reEMJA1uzscCbkpeRJeTT2bjqUp-150x150.jpg",
        "type": "TV"
      }
    ]
  }
}

Get Sinhalasub Downloads

const result = await api.download(url, apiKey);
console.log(JSON.stringify(result, null, 2));
{
  "code": 200,
  "code_creator": {
    "name": "Omindu_Dissanayaka",
    "github": "@OmiduAnjane",
    "group": "Nex Dev Group"
  },
  "results": {
    "data": {
      "title": "Extraction (2020) Sinhala Subtitles | සිංහල උපසිරසි සමඟ",
      "tagline": "\" ඇවිදින මළකඳක් \"",
      "release_date": "Apr. 24, 2020",
      "country": "USA",
      "runtime": "116 Min.",
      "genres": [
        "Action",
        "Drama",
        "Thriller"
      ],
      "poster": "https://sinhalasub.lkhttps://sinhalasub.lk/wp-content/uploads/2022/02/nygOUcBKPHFTbxsYRFZVePqgPK6-200x300.jpg",
      "imdb_rating": "6.7",
      "tmdb_Rating": "7.4",
      "description": "මේ චිත්‍රපටිය ගොඩක්ම වැදගත් වෙන්න හේතු කීපයක්ම තියෙනවා. ඒවා ඉස්සරහට දැනගන්න පුළුවන් වෙයි. අපි මුලින්ම බලමු මේ චිත්‍රපටියෙ අධ්‍යක්ෂණය කරපු ඒ මහා දැවැන්තයෝ ගැන. හැබැයි Marvel චිත්‍රපටි බලන කෙනෙක්නම් මේ දැවැන්තයෝ ගැන අනිවාරෙන්ම දැනගන ඉන්න ඕන. වැඩිම බොක්ස් ඔෆිස් ආදායමක් ලබාගත්ත චිත්‍රපටි මතකද? කොහොම අමතක වෙන්නද ඉතින්. ඒ තමයි Avengers: Infinity War, Avengers: Endgame කියන චිත්‍රපටි දෙක. මෙන්න මේ දැවැන්තම සිනමා නිර්මාණය අධ්‍යක්ෂණය කරපු Russo (රූසෝ) සහෝදරයො තමයි මේ සුපිරිම චිත්‍රපටියත් අධ්‍යක්ෂණය කරන්නෙ. එතනින්ම හිතාගන්න පුළුවන් ඇතිනෙ මේකත් කොහොම චිත්‍රපටියක්ද කියලා. අධ්‍යක්ෂණයෙ ඉඳන්ම හොඳම දෙයක් ලැබුණ චිත්‍රපටියක් කියලත් කියන්න පුළුවන්.      මම කලින් කිව්වා වගේ තවත් වැදගත්ම හේතුවක් තමයි මේ චිත්‍රපටියෙ ප්‍රධාන චිත්‍රපටියට රංගනයෙන් දායකවෙන චරිතය. ඒ තමයි හැමෝම හොඳටම දන්න කියන මාවල් සිනමා විශ්වයේ “තෝර්” නමැති චරිතයෙන් ගොඩක්ම ජනප්‍රියත්වයට පත්වුණ Chris Hemsworth. හැමෝම වගේ ගොඩක්ම ආස කරන චරිතයක්නෙ ඉතින් තෝර් අයියා කියන්නෙ. මේ චරිතෙ ගැන ආයෙ අමුතුවෙන් විස්තර කරන්න යන්නෙ නෑ. හැමෝම හොඳට දන්න කියන නිසා.එහෙනම් ඉතින් අපි බලමු මේ චිත්‍රපටියෙ අනිත් විශේෂ කරුණ. මේ චිත්‍රපටිය නිෂ්පාදනය කරන්න බොලිවුඩයත් එකතු කරගෙන තියෙනවා. දැන් හැමෝම කල්පනා කරනවා ඇති මේ මොනවද කියන්නෙ කියලා. ඔව් බොලිවුඩය තමයි. බොලිවුඩයෙ වැඩිය ප්‍රසිද්ධ නැති Randeep Hooda කියන නළුවා මේ චිත්‍රපටියට රංගනයෙන් දායක වෙනවා. එහෙම කිව්වම හිතාගන්න බැරිද? එහෙනම් ඉතින් ෆිල්ම් එක බලලම තේරුම් ගන්නකො. ඒ වගේම තමයි Pankaj Thripathi කියන දක්ෂ රංගනය ශිල්පියත් මේ චිත්‍රපටියට රංගනයෙන් දායක වෙනවා. ඉන්දියාවෙ අහමදාබාද් වගේම මුම්බායි, බංග්ලාදේශයේ ඩකා අගනුවරත් මේ චිත්‍රපටියෙ රූගත කිරීම් කරලා තියෙනවා. හොලිවුඩයයි බොලිවුඩයයි එකතුවෙලා කරපු මේ දැවැන්ත සිනමාපටයත් අනිවාරෙන්ම නැරඹිය යුතු සිනමාපටයක්. කට්ටිය හිතුවද දන්නෑ මට මේකෙ රේටින්ස් ගැන කියන්න අමතක වුණා කියලා. නෑ අමතක වුණේ නෑ. එහෙනම් ඉතින් රේටින් ගැනත් කොටානම යන්නම්කො. IMDb අගය පැත්තට හැරුණම 7.1 වගේ ඉහළ අගයක් මේ චිත්‍රපටිය හිමිකරගෙන තියෙනවා වගේම 91% ක ගූගල් පරිශීලකයන්ගෙ කැමැත්තත් ගන්න මේ චිත්‍රපටියට හැකිවෙලා තියෙනවා. Rotten Tomatoes එක ගත්තම ඒකෙත් 61% වගේ අගයක් මේ චිත්‍රපටිය අරගන්නවා.මේ චිත්‍රපටියෙ ස්ටෝරි එක ගැනත් වැඩිය කියන්නෙ නැතුව බොහොම කෙටියෙන් කියලා කුතුහලයක් ඉතුරු කරන්නම්. මත්ද්‍රව්‍ය කින් කෙනෙක් ගේ ළමයෙක් පැහැර ගන්නවා තවත් මත්ද්‍රව්‍ය කින් කෙනක් ඔච්චරයි කියන්නේ  ඇක්ෂන් ලෝකයකින් පිරුණ චිත්‍රපටියක් තමයි මේ බලන්න ලෑස්ති වෙන්නෙ. පුරා පැය දෙකක්ම එක හුස්මට බලන්න පුළුවන් චිත්‍රපටියක් කියලා මම බය නැතුව කියනවා. එහෙනම් ඉතින් තවත් වැල් වටාරම් කියන්න යන්නෙ නැතුව මෙතනින් නවත්තන්නම්. ඉතුරු ටික ඔයාලට බාරයි. චිත්‍රපටිය බලලා උපසිරසියේ හොඳ නරක කියන්න. එහෙනම් මම නවතිනවා. පුළුවන් ඉක්මන්ට තවත් උපසිරසියකින් හම්බවෙමු.හැමෝටම බුදු සරණයි! ",
      "director": {
        "name": "Jon Mallard",
        "url": "https://sinhalasub.lk/director/jon-mallard/",
        "image": "https://sinhalasub.lk/wp-content/themes/dooplay/assets/img/no/cast.png"
      },
      "image_urls": [
        "https://sinhalasub.lk/wp-content/uploads/2023/06/Extraction-2020.jpg\n",
        "https://image.tmdb.org/t/p/w300/oIJrrG0c3wlqbpAnfuYkO4h8ZVs.jpg\n",
        "https://image.tmdb.org/t/p/w300/1R6cvRtZgsYCkh8UFuWFN33xBP4.jpg\n",
        "https://image.tmdb.org/t/p/w300/2QSZ4CPd8AoljAL76qM30dFft07.jpg\n",
        "https://image.tmdb.org/t/p/w300/xeTLMd7gnFRvfjzv8P4Mmffgyla.jpg\n",
        "https://image.tmdb.org/t/p/w300/wLVFj4alWRWzEC5uSdoWzN2BU6O.jpg\n",
        "https://image.tmdb.org/t/p/w300/n82fEBLEKaewapHo5rf5Mv0pEeD.jpg\n",
        "https://image.tmdb.org/t/p/w300/lDKazAtspS0mXgKxmvpaiVLGA22.jpg\n"
      ],
      "cast": [
        {
          "name": "Chris Hemsworth",
          "character": "Tyler Rake",
          "url": "https://sinhalasub.lk/cast/chris-hemsworth/",
          "image": "https://image.tmdb.org/t/p/w92/jpurJ9jAcLCYjgHHfYF32m3zJYm.jpg"
        },
        {
          "name": "Rudhraksh Jaiswal",
          "character": "Ovi Mahajan",
          "url": "https://sinhalasub.lk/cast/rudhraksh-jaiswal/",
          "image": "https://image.tmdb.org/t/p/w92/nIiqv0pbRwKeG7Ar42UrLgEBuYW.jpg"
        },
        {
          "name": "Randeep Hooda",
          "character": "Saju",
          "url": "https://sinhalasub.lk/cast/randeep-hooda/",
          "image": "https://image.tmdb.org/t/p/w92/fF6G3MlCfq6pH1YkHrFVDhe9Uvw.jpg"
        },
        {
          "name": "Golshifteh Farahani",
          "character": "Nik Khan",
          "url": "https://sinhalasub.lk/cast/golshifteh-farahani/",
          "image": "https://image.tmdb.org/t/p/w92/DuAPmZxZlX25m57pJy16WbIyKM.jpg"
        },
        {
          "name": "Pankaj Tripathi",
          "character": "Ovi Mahajan Sr.",
          "url": "https://sinhalasub.lk/cast/pankaj-tripathi/",
          "image": "https://image.tmdb.org/t/p/w92/429hnZC7O6GEDs7DWHdYMI27h8I.jpg"
        },
        {
          "name": "David Harbour",
          "character": "Gaspar",
          "url": "https://sinhalasub.lk/cast/david-harbour/",
          "image": "https://image.tmdb.org/t/p/w92/chPekukMF5SNnW6b22NbYPqAStr.jpg"
        },
        {
          "name": "Bryon Lerum",
          "character": "Rake's Son",
          "url": "https://sinhalasub.lk/cast/bryon-lerum/",
          "image": "https://sinhalasub.lk/wp-content/themes/dooplay/assets/img/no/cast.png"
        },
        {
          "name": "Ryder Lerum",
          "character": "Rake's Son",
          "url": "https://sinhalasub.lk/cast/ryder-lerum/",
          "image": "https://sinhalasub.lk/wp-content/themes/dooplay/assets/img/no/cast.png"
        },
        {
          "name": "Shivam Vichare",
          "character": "Sachin",
          "url": "https://sinhalasub.lk/cast/shivam-vichare/",
          "image": "https://image.tmdb.org/t/p/w92/qFx7ZuAEUUmZIRKYAFV9omnAHcZ.jpg"
        },
        {
          "name": "Piyush Khati",
          "character": "Arjun",
          "url": "https://sinhalasub.lk/cast/piyush-khati/",
          "image": "https://image.tmdb.org/t/p/w92/9NeuXKK5BFYxZ0n1KOOWyViPloq.jpg"
        }
      ]
    },
    "dl_links": {
      "server_01": [
        {
          "link": "https://sinhalasub.lk/links/imc0sz0vkb/",
          "quality": "HD 720p",
          "size": "1.41 GB"
        },
        {
          "link": "https://sinhalasub.lk/links/5yl2rdpmib/",
          "quality": "SD 480p",
          "size": "744 MB"
        }
      ],
      "server_02": [
        {
          "link": "https://sinhalasub.lk/links/vtukgtadzf/",
          "quality": "HD 720p",
          "size": "1.41 GB"
        },
        {
          "link": "https://sinhalasub.lk/links/uzlsbzkibb/",
          "quality": "SD 480p",
          "size": "744 MB"
        }
      ],
      "server_03": [
        {
          "link": "https://sinhalasub.lk/links/ityuxwdokm/",
          "quality": "HD 720p",
          "size": "1.41 GB"
        },
        {
          "link": "https://sinhalasub.lk/links/5ykeddlwj3/",
          "quality": "SD 480p",
          "size": "744 MB"
        }
      ],
      "telegram": [
        {
          "link": "https://sinhalasub.lk/links/7l1uealsf8/",
          "quality": "HD 720p",
          "size": "1.41 GB"
        },
        {
          "link": "https://sinhalasub.lk/links/nr1btsfr6o/",
          "quality": "SD 480p",
          "size": "744 MB"
        }
      ]
    },
    "subtitles": "N/A"
  }
}

Full Example

const sinhalasub = require('@omindudissanayaka/movie-api');
const api = new sinhalasub()

const apiKey = 'a2973671b790589427dffb4dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
const url = 'https://sinhalasub.lk/movies/extraction-2020-sinhala-subtitles/';

async function dl(url, apiKey) {
    try {
        const result = await api.download(url, apiKey);
        console.log(JSON.stringify(result, null, 2));
    } catch (error) {
        console.error('Error:', error);
    }
}

dl(url, apiKey);

✍️ Authors