
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
promise-crawler
Advanced tools
Promise support for node-crawler (Web Crawler/Spider for NodeJS + server-side jQuery)
Promise support for node-crawler (Web Crawler/Spider for NodeJS + server-side jQuery)
Nodejs library for website crawling using node-crawler but on bluebird promises.
npm i promise-crawler --save
Example:
const PromiseCrawler = require('promise-crawler');
//Initialize with node-crawler options
const crawler = new PromiseCrawler({
maxConnections: 10,
retries: 3
});
//perform setup and then use it
crawler.setup().then(() => {
// makes request with node-crawler queue options
crawler.request({
url: 'http://example.com'
}).then((res) => {
//server side response parsing using cheerio
let $ = res.$;
console.log($("title").text());
// destroy the instance
process.nextTick(() => crawler.destroy())
})
});
FAQs
Promise support for node-crawler (Web Crawler/Spider for NodeJS + server-side jQuery)
The npm package promise-crawler receives a total of 8 weekly downloads. As such, promise-crawler popularity was classified as not popular.
We found that promise-crawler demonstrated a not healthy version release cadence and project activity because the last version was released 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.