Home / npm packages / marked

marked source code

Every file of marked@18.0.14 as published on npm: 10 files, 143 KB. Search them by exact text or regex, in milliseconds.

It uses: child_process, the fs module.

What marked uses

APIIn marked
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
Yes: 1 file
e.g. bin/main.js
See the lines
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
Yes: 1 file
e.g. bin/main.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
lib/marked.umd.js47 KB
lib/marked.esm.js46 KB
lib/marked.d.ts29 KB
bin/main.js6.7 KB
README.md3.5 KB
package.json3.4 KB
LICENSE2.9 KB
man/marked.12.4 KB
man/marked.1.md2.0 KB
bin/marked.js264 B

Questions

How many files are in marked?

Version 18.0.14 of marked publishes 10 files of source, 143 KB in all, not counting images, fonts and source maps.

Does marked use eval?

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

Does marked start other programs?

Yes: marked uses child_process in 1 of its files.

Does marked run an install script?

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