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

dew-api

v1.0.4

Published

A powerful multi-platform media downloader supporting YouTube, TikTok, Pinterest, and more. Built for easy expansion and clean API usage.

Readme

Status GitHub Issues GitHub Pull Requests License


📝 Table of Contents

🧐 About

dew-api is a versatile Node.js package designed to provide a simple interface for a variety of web-based tasks. Whether you need to search for YouTube videos, download media, or scrape the latest news from Sri Lankan websites, this library has you covered.

✨ Features

✔️ YouTube Search: Quickly find YouTube videos. ✔️ Media Downloads: Download YouTube videos as MP3 or MP4 in various qualities. ✔️ Google Drive: Generate direct download links for Google Drive files. ✔️ News Scraping: Fetch the latest articles from multiple Sri Lankan news sources. ✔️ Lightweight & Fast: Built to be efficient and scalable with zero bloat.


📦 Installation

npm install dew-api

or with yarn:

yarn add dew-api

🚀 Usage

  1. Import the downloader
const dewapi = require("dew-api");

📤 Download Endpoits

| Source | Function | |-----------------|---------------------------| | MP3|await dewapi.download.youtube("https://www.youtube.", "mp3")| | MP4|await dewapi.download.youtube("https://www.youtube.", "720")| | Apk|await dewapi.download.apk("whatsapp")| | Gdrive|await dewapi.download.gdrive("https://drive.google...")| | Pinterest|await dewapi.download.pinterestdl("https://id.pinterest..")| | RingTone|await dewapi.download.ringtone("sad")| | TikTok|await dewapi.download.tiktok("https://vt.tiktok.com/ZSje1..")| | Wallpaper|await dewapi.download.wallpaper("nature")| | Xnxx|await dewapi.download.xnxx("https://www.xnxx.tv/video-1c4kmd16..")|

🎞️ Movie Endpoints

| Source | Function | |-----------------|---------------------------| | Baiscope|await dewapi.movie.baiscope('Madhuram')| | BaiscopeDL|await dewapi.movie.baiscopedl("https://www.baiscope.lk/madhura..")| | Cinesubz|await dewapi.movie.cinesubz("2025")| | CinesubzDl|await dewapi.movie.cinesubzdl("https://cinesubz.lk/movies/maint.")| | Pirate|await dewapi.movie.pirate('spider man')| | PirateDl|await dewapi.movie.piratedl("https://pirate.lk/movies/kiss-of-t")| | SinhalaSub|await dewapi.movie.sinhalasub("2025")| | SinhalaSubDl|await dewapi.movie.sinesubdl("https://sinhalasub.lk/movies/si.")| | Zoom|await dewapi.movie.zoom("troll")| | ZoomDl|await dewapi.movie.zoomdl("https://zoom.lk/the-boss-baby-2017-sinha")|

🔍 Search Endpoints

| Source | Function | |-----------------|---------------------------| | Yts|await dewapi.search.yts("Never")| | Img|dewapi.search.img("Hansa Dewmina");| | LyriHub|await dewapi.search.lyrihub("mal kumariya")| | Pinterest|await dewapi.search.pinterest("dew")| | Sticker|await dewapi.search.sticker("dog")| | Xhamster| await dewapi.search.xhamster("spider man")| | Xnxxx|await dewapi.search.xnxx("spider man")|

📰 News Endpoints

| Source | Function | |-----------------|---------------------------| | BBC|await dewapi.news.bbc()| | Dasathalanka|await dewapi.news.dasathalanka()| | Derana|await dewapi.news.derana()| | ITN|await dewapi.news.itn()| | LankaDeepa|await dewapi.news.lankadeepa()| | LNW|await dewapi.news.lnw()| | Silumina|await dewapi.news.silumina()| | Siyatha|await dewapi.news.siyatha()|

⚙️ Tools Endpoints

| Source | Function | |-----------------|---------------------------| | Github|await dewapi.tools.github("Hansa-Dewmina")| | Npm|await dewapi.tools.npm("dew-api")| | Styletext|await dewapi.tools.styletext("Hansa-Dewmina")|

🤖 AI Endpoints

| Source | Function | |-----------------|---------------------------| | Text2Img|await dewapi.ai.text2img("make this image realistic")|


📄 License

MIT License — Free to use in personal and commercial projects.

❤️ Author

Developed by Hansa Dewmina(Dew Coders.)