1.0.2 • Published 3 years ago

iduck v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

iDuck

A NodeJS Wrapper to interfere with the DuckDuckGo Instant Answer API.

Example

const iDuck = require('iduck'),
duckduckgo = new iDuck('<t param>');
    duckduckgo.search('test', { no_html: true })
        .then(console.log);

Docs

// Example
iDuck#search(query: string, {})
    .then(res => console.log(res.Abstract));
// Options
{
    no_redirect: true | false,
    no_html: true | false,
    skip_disambig: true | false
}
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago