1.0.2 • Published 4 years ago

@dada513/duckduckscrape v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

DuckDuckScrape

Scrapes DuckDuckGo search results in node.js.

Install

yarn add @dada513/duckduckscrape # or npm install @dada513/duckduckscrape

Usage

// From test.js
const dds = require("./es");

async function main() {
  const res = await dds.search("Hello, world");
  console.log(res); // [ { title: "...", url: "...", desc: "..." } ]
}

main();

API

The JSDoc is available at https://dada513.github.io/duckduckscrape/