Get DuckDuckGo results in Node. https://npmjs.com/package/node-ddg
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bauke 04dfe00f79
Move to self-hosted Gitea, update dependencies, rename some files.
1 week ago
source Move to self-hosted Gitea, update dependencies, rename some files. 1 week ago
tests Move to self-hosted Gitea, update dependencies, rename some files. 1 week ago
.gitignore chore: update dependencies and output to build/ 1 year ago
LICENSE Move to self-hosted Gitea, update dependencies, rename some files. 1 week ago
README.md Move to self-hosted Gitea, update dependencies, rename some files. 1 week ago
package.json Move to self-hosted Gitea, update dependencies, rename some files. 1 week ago
tsconfig.json Move to self-hosted Gitea, update dependencies, rename some files. 1 week ago
yarn.lock Move to self-hosted Gitea, update dependencies, rename some files. 1 week ago

README.md

Node DDG

Get DuckDuckGo results in Node.

npm version npm downloads per month npm license

Usage

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.

License

Open-sourced with the MIT License.