Get DuckDuckGo results in Node. https://npmjs.com/package/node-ddg
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bauke 04dfe00f79
Move to self-hosted Gitea, update dependencies, rename some files.
1 년 전
source Move to self-hosted Gitea, update dependencies, rename some files. 1 년 전
tests Move to self-hosted Gitea, update dependencies, rename some files. 1 년 전
.gitignore chore: update dependencies and output to build/ 2 년 전
LICENSE Move to self-hosted Gitea, update dependencies, rename some files. 1 년 전
README.md Move to self-hosted Gitea, update dependencies, rename some files. 1 년 전
package.json Move to self-hosted Gitea, update dependencies, rename some files. 1 년 전
tsconfig.json Move to self-hosted Gitea, update dependencies, rename some files. 1 년 전
yarn.lock Move to self-hosted Gitea, update dependencies, rename some files. 1 년 전

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.