@dada513/duckduckscrape

1.0.2 • Public • Published

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/

Readme

Keywords

none

Package Sidebar

Install

npm i @dada513/duckduckscrape

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

1.03 MB

Total Files

44

Last publish

Collaborators

  • dada513