Skip to main content
Deno 2 is finally here 🎉️
Learn more

ddg-images

Duckduckgo images wrapper for Deno

Usage

import { search, SafetyLevels } from 'https://deno.land/x/ddgimages@v1.1.1/mod.ts'

const duck = await search('ducks')
const nsfw = await search('hentai', SafetyLevels.STRICT) // doesn't throws any NSFW result

console.log(duck[0]?.image, nsfw[0]?.image)

as simple as that, I only use this as a dependency for my bot

btw check out a node version