A Node.js module to fetch an HTML page via HTTP and parse it into a cheerio object. It uses node-fetch under the hood for fetching and cheerio for DOM parsing, returning a Promise that resolves to a cheerio instance. The API is simple: pass a URL and optional cheerio.load options. Version 1.3.0 is current. This package is a thin wrapper combining fetch and parse steps, useful for scraping and testing. However, it is unmaintained since 2018 and has known vulnerabilities due to outdated dependencies (node-fetch < 3). Consider using higher-level scraping libraries like got-scraping or axios + cheerio directly for better control and security.
npm install fetch-cheerio-objectNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Fetches and parses HTML from a URL, then extracts the title using cheerio.
Migrate to a maintained alternative like got-scraping or axios + cheerio directly.
Use require() or wrap dynamic import with .default.
Pass cheerio options like { xmlMode: true } if needed.Use isomorphic cheerio with fetch in browser.
Use `const fetchCheerioObject = require('fetch-cheerio-object');` or `(await import('...')).default`.Install node-fetch@2: `npm install node-fetch@2`.
Install cheerio: `npm install cheerio`.