Get DuckDuckGo results in Node. https://npmjs.com/package/node-ddg
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Bauke 04dfe00f79
Move to self-hosted Gitea, update dependencies, rename some files.
1 anno fa
source Move to self-hosted Gitea, update dependencies, rename some files. 1 anno fa
tests Move to self-hosted Gitea, update dependencies, rename some files. 1 anno fa
.gitignore chore: update dependencies and output to build/ 2 anni fa
LICENSE Move to self-hosted Gitea, update dependencies, rename some files. 1 anno fa
README.md Move to self-hosted Gitea, update dependencies, rename some files. 1 anno fa
package.json Move to self-hosted Gitea, update dependencies, rename some files. 1 anno fa
tsconfig.json Move to self-hosted Gitea, update dependencies, rename some files. 1 anno fa
yarn.lock Move to self-hosted Gitea, update dependencies, rename some files. 1 anno fa

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.