Scrapes DuckDuckGo search results in node.js.
yarn add @dada513/duckduckscrape # or npm install @dada513/duckduckscrape
// From test.js
const dds = require("./es");
async function main() {
const res = await dds.search("Hello, world");
console.log(res); // [ { title: "...", url: "...", desc: "..." } ]
}
main();
The JSDoc is available at https://dada513.github.io/duckduckscrape/