
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
duck-duck-scrape
Advanced tools
npm install duck-duck-scrape
- yarn add duck-duck-scrape
Search from DuckDuckGo and utilize its spice APIs for things such as stocks, weather, currency conversion and more!
const DDG = require('duck-duck-scrape');
const searchResults = await DDG.search('node.js', {
safeSearch: DDG.SafeSearchType.STRICT
});
// DDG.stocks('aapl')
// DDG.currency('usd', 'eur', 1)
// DDG.dictionaryDefinition('happy')
console.log(searchResults);
/**
{
noResults: false,
vqd: '3-314...',
results: [
{
title: 'Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript...',
...
url: 'https://nodejs.org/',
bang: {
prefix: 'node',
title: 'node.js docs',
domain: 'nodejs.org'
}
},
...
]
}
*/
import { search, SafeSearchType } from 'duck-duck-scrape';
// import * as DDG from 'duck-duck-scrape';
const searchResults = await search('node.js', {
safeSearch: SafeSearchType.STRICT
});
[2.2.6] - 2024-11-22
ss_mkt
is now replaced with bing_market
which should allow for fewer anomalies (#141)FAQs
Search from DuckDuckGo and use it's spice APIs.
The npm package duck-duck-scrape receives a total of 6,883 weekly downloads. As such, duck-duck-scrape popularity was classified as popular.
We found that duck-duck-scrape demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.