A lightweight Node.js package (v1.0.5) for programmatic image search using DuckDuckGo. It simulates browser requests to retrieve image results, as the official Instant Answer API does not support image search. The package offers both promise-based and async generator interfaces. Compared to alternatives like Google Custom Search, it requires no API key. Updated sporadically; last release in 2021. Not officially supported by DuckDuckGo.
npm install duckduckgo-images-apiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Searches DuckDuckGo for bird images with moderation on, logs array of result objects.
Consider using official APIs (e.g., Google Custom Search) for production.
Install @types/duckduckgo-images-api and check for version compatibility.
Use Node 14+ or implement a custom wrapper with callbacks.
Pin version and watch DuckDuckGo updates.
Use named import: import { image_search } from 'duckduckgo-images-api'Run npm install duckduckgo-images-api in Node project.
No dependency data recorded yet.