Get DuckDuckGo results in Node. https://npmjs.com/package/node-ddg
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Bauke 04dfe00f79
Move to self-hosted Gitea, update dependencies, rename some files.
1 ano atrás
source Move to self-hosted Gitea, update dependencies, rename some files. 1 ano atrás
tests Move to self-hosted Gitea, update dependencies, rename some files. 1 ano atrás
.gitignore chore: update dependencies and output to build/ 2 anos atrás
LICENSE Move to self-hosted Gitea, update dependencies, rename some files. 1 ano atrás
README.md Move to self-hosted Gitea, update dependencies, rename some files. 1 ano atrás
package.json Move to self-hosted Gitea, update dependencies, rename some files. 1 ano atrás
tsconfig.json Move to self-hosted Gitea, update dependencies, rename some files. 1 ano atrás
yarn.lock Move to self-hosted Gitea, update dependencies, rename some files. 1 ano atrás

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.