Home / npm packages / cheerio

cheerio source code

Every file of cheerio@1.2.0 as published on npm: 126 files, 713 KB. Search them by exact text or regex, in milliseconds.

It uses: the fs module.

What cheerio uses

APIIn cheerio
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
Yes: 5 files
e.g. dist/commonjs/index.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
src/api/traversing.ts31 KB
src/api/attributes.ts29 KB
src/api/manipulation.ts29 KB
dist/commonjs/api/traversing.js27 KB
dist/commonjs/api/manipulation.js26 KB
dist/browser/api/manipulation.js25 KB
dist/esm/api/manipulation.js25 KB
dist/browser/api/traversing.js25 KB
dist/esm/api/traversing.js25 KB
dist/commonjs/api/attributes.js21 KB
dist/browser/api/attributes.js20 KB
dist/esm/api/attributes.js20 KB
dist/browser/api/traversing.d.ts20 KB
dist/commonjs/api/traversing.d.ts20 KB
dist/esm/api/traversing.d.ts20 KB
dist/browser/api/manipulation.d.ts16 KB
dist/commonjs/api/manipulation.d.ts16 KB
dist/esm/api/manipulation.d.ts16 KB
dist/browser/api/attributes.d.ts12 KB
dist/commonjs/api/attributes.d.ts12 KB
dist/esm/api/attributes.d.ts12 KB
dist/commonjs/index.js9.9 KB
src/load.ts8.6 KB
src/static.ts8.1 KB
src/index.ts8.0 KB
Readme.md7.9 KB
dist/esm/index.js7.4 KB
dist/commonjs/load.js7.2 KB
dist/commonjs/static.js6.4 KB
dist/browser/static.js6.1 KB

Questions

How many files are in cheerio?

Version 1.2.0 of cheerio publishes 126 files of source, 713 KB in all, not counting images, fonts and source maps.

Does cheerio use eval?

No: cheerio doesn't call eval() anywhere in its published files.

Does cheerio start other programs?

No: cheerio doesn't use child_process anywhere in its published files.

Does cheerio run an install script?

No: cheerio has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine