Get DuckDuckGo results in Node. https://npmjs.com/package/node-ddg
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Bauke 04dfe00f79
Move to self-hosted Gitea, update dependencies, rename some files.
vor 1 Jahr
source Move to self-hosted Gitea, update dependencies, rename some files. vor 1 Jahr
tests Move to self-hosted Gitea, update dependencies, rename some files. vor 1 Jahr
.gitignore chore: update dependencies and output to build/ vor 2 Jahren
LICENSE Move to self-hosted Gitea, update dependencies, rename some files. vor 1 Jahr
README.md Move to self-hosted Gitea, update dependencies, rename some files. vor 1 Jahr
package.json Move to self-hosted Gitea, update dependencies, rename some files. vor 1 Jahr
tsconfig.json Move to self-hosted Gitea, update dependencies, rename some files. vor 1 Jahr
yarn.lock Move to self-hosted Gitea, update dependencies, rename some files. vor 1 Jahr

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.