
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
ts-duckduckgo-search
Advanced tools
TypeScript wrapper for scraping DuckDuckGo results from the lite HTML endpoint.
npm install
npm run build
import { searchDuckDuckGo } from 'ts-duckduckgo-search';
const results = await searchDuckDuckGo('privacy focused search');
console.log(results);
/*
[
{
title: 'DuckDuckGo — Privacy, simplified.',
url: 'https://duckduckgo.com/',
description: 'DuckDuckGo is an internet search engine...'
},
...
]
*/
await searchDuckDuckGo('typescript', {
maxResults: 20,
locale: 'us-en',
safeSearch: 'strict',
});
maxResults – Maximum number of results to return (default 10).locale – Locale string passed as the kl parameter (us-en, pt-pt, etc.).safeSearch – Safe-search level (off, moderate, strict).offset – Result offset in multiples of 50, passed as the s parameter.userAgent – Custom user-agent header.signal – AbortSignal used to cancel the underlying fetch.npm test
FAQs
DuckDuckGo search scraper with TypeScript API
The npm package ts-duckduckgo-search receives a total of 21 weekly downloads. As such, ts-duckduckgo-search popularity was classified as not popular.
We found that ts-duckduckgo-search 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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.