|
1 year ago | |
---|---|---|
source | 1 year ago | |
tests | 1 year ago | |
.gitignore | 2 years ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
package.json | 1 year ago | |
tsconfig.json | 1 year ago | |
yarn.lock | 1 year ago |
Get DuckDuckGo results in Node.
import {search, Result} from 'node-ddg';
search({query: 'duckduckgo', maxResults: 3})
.then((results: Result[]) => console.log(results))
.catch(console.error);
For more examples, see the source and test files.
Open-sourced with the MIT License.