Home / npm packages / parse5

parse5 source code

Every file of parse5@8.0.1 as published on npm: 33 files, 337 KB. Search them by exact text or regex, in milliseconds.

It uses: none of the APIs we check for.

What parse5 uses

APIIn parse5
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
NoWho does
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
dist/parser/index.js107 KB
dist/tokenizer/index.js98 KB
dist/common/html.js18 KB
dist/tokenizer/index.d.ts11 KB
dist/parser/open-element-stack.js11 KB
dist/tree-adapters/interface.d.ts9.3 KB
dist/parser/index.d.ts8.4 KB
dist/tokenizer/preprocessor.js7.0 KB
dist/common/foreign-content.js6.3 KB
dist/common/html.d.ts5.7 KB
dist/serializer/index.js5.3 KB
dist/tree-adapters/default.js5.2 KB
dist/common/error-codes.js4.7 KB
dist/common/doctype.js4.7 KB
dist/common/error-codes.d.ts4.5 KB
dist/parser/formatting-element-list.js4.3 KB
dist/index.d.ts3.3 KB
dist/tree-adapters/default.d.ts3.1 KB
dist/common/unicode.js3.0 KB
dist/common/token.d.ts2.7 KB
dist/parser/open-element-stack.d.ts2.3 KB
dist/serializer/index.d.ts1.9 KB
dist/parser/formatting-element-list.d.ts1.4 KB
dist/index.js1.4 KB
package.json1.3 KB
dist/tokenizer/preprocessor.d.ts1.2 KB
dist/common/unicode.d.ts1.2 KB
LICENSE1.1 KB
README.md885 B
dist/common/token.js834 B

Questions

How many files are in parse5?

Version 8.0.1 of parse5 publishes 33 files of source, 337 KB in all, not counting images, fonts and source maps.

Does parse5 use eval?

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

Does parse5 start other programs?

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

Does parse5 run an install script?

No: parse5 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