Get DuckDuckGo results in Node. https://npmjs.com/package/node-ddg
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Bauke 04dfe00f79
Move to self-hosted Gitea, update dependencies, rename some files.
pirms 1 gada
source Move to self-hosted Gitea, update dependencies, rename some files. pirms 1 gada
tests Move to self-hosted Gitea, update dependencies, rename some files. pirms 1 gada
.gitignore chore: update dependencies and output to build/ pirms 2 gadiem
LICENSE Move to self-hosted Gitea, update dependencies, rename some files. pirms 1 gada
README.md Move to self-hosted Gitea, update dependencies, rename some files. pirms 1 gada
package.json Move to self-hosted Gitea, update dependencies, rename some files. pirms 1 gada
tsconfig.json Move to self-hosted Gitea, update dependencies, rename some files. pirms 1 gada
yarn.lock Move to self-hosted Gitea, update dependencies, rename some files. pirms 1 gada

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.