@types/duckduckgo-images-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/duckduckgo-images-api

Summary

This package contains type definitions for duckduckgo-images-api (https://github.com/KshitijMhatre/duckduckgo-images-api).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/duckduckgo-images-api.

index.d.ts

export interface DuckDuckGoImage {
    image: string;
    title: string;
    height: number;
    thumbnail: string;
    width: number;
    url: string;
    source: string;
}

export function image_search(params: {
    query: string;
    moderate?: boolean | undefined;
    retries?: number | undefined;
    iterations?: number | undefined;
}): Promise<DuckDuckGoImage[]>;

export function image_search_generator(params: {
    query: string;
    moderate?: boolean | undefined;
    retries?: number | undefined;
    iterations?: number | undefined;
}): Promise<DuckDuckGoImage[]>;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Bart Duisters.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/duckduckgo-images-api

Weekly Downloads

44

Version

1.0.3

License

MIT

Unpacked Size

3.82 kB

Total Files

5

Last publish

Collaborators

  • types