
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@hammerhead/duckduckgosearch
Advanced tools
A DuckDuckGo search wrapper with text, images, videos, news, instant answers and related queries.
A simple Node.js wrapper for DuckDuckGo that supports text, images, videos, news, instant answers, and related searches.
Built with fetch + cheerio. No official API key required.
pnpm add @hammerhead/duckduckgosearch
# or
npm install @hammerhead/duckduckgosearch
import DuckDuckGoSearch from "@hammerhead/duckduckgosearch";
const ddg = await DuckDuckGoSearch();
// 🔍 Text Search
const textResults = await ddg.text("nodejs", 2); // 2 pages
console.log(textResults);
// 🖼️ Image Search
const images = await ddg.images("cats", { page: 1, maxResults: 10 });
console.log(images);
// 🎬 Video Search
const videos = await ddg.videos("javascript tutorial", 5);
console.log(videos);
// 📰 News Search
const news = await ddg.news("AI technology", { page: 1, limit: 5 });
console.log(news);
// ⚡ Instant Answer
const instant = await ddg.instant("What is Node.js?");
console.log(instant);
// 🔗 Related Searches
const related = await ddg.related("open source");
console.log(related);
FAQs
A DuckDuckGo search wrapper with text, images, videos, news, instant answers and related queries.
We found that @hammerhead/duckduckgosearch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.