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 2 gadiem
source Move to self-hosted Gitea, update dependencies, rename some files. pirms 2 gadiem
tests Move to self-hosted Gitea, update dependencies, rename some files. pirms 2 gadiem
.gitignore chore: update dependencies and output to build/ pirms 3 gadiem
LICENSE Move to self-hosted Gitea, update dependencies, rename some files. pirms 2 gadiem
README.md Move to self-hosted Gitea, update dependencies, rename some files. pirms 2 gadiem
package.json Move to self-hosted Gitea, update dependencies, rename some files. pirms 2 gadiem
tsconfig.json Move to self-hosted Gitea, update dependencies, rename some files. pirms 2 gadiem
yarn.lock Move to self-hosted Gitea, update dependencies, rename some files. pirms 2 gadiem

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.