Home / npm packages / yaml

yaml source code

Every file of yaml@2.9.1 as published on npm: 233 files, 686 KB. Search them by exact text or regex, in milliseconds.

It uses: process.env, the fs module.

What yaml uses

APIIn yaml
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
Yes: 2 files
e.g. dist/compose/composer.js
See the lines
the fs module
reads and writes files
Yes: 1 file
e.g. README.md
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
dist/parse/parser.js36 KB
browser/dist/parse/parser.js35 KB
dist/parse/lexer.js24 KB
browser/dist/parse/lexer.js24 KB
dist/stringify/stringifyString.js13 KB
browser/dist/stringify/stringifyString.js13 KB
dist/doc/Document.js13 KB
browser/dist/doc/Document.js13 KB
dist/options.d.ts11 KB
dist/parse/cst-scalar.js9.4 KB
dist/visit.js9.3 KB
browser/dist/parse/cst-scalar.js9.2 KB
browser/dist/visit.js9.1 KB
dist/compose/resolve-flow-collection.js8.9 KB
browser/dist/compose/resolve-flow-collection.js8.8 KB
dist/compose/composer.js8.7 KB
browser/dist/compose/composer.js8.5 KB
dist/compose/resolve-block-scalar.js7.5 KB
dist/cli.mjs7.5 KB
browser/dist/compose/resolve-block-scalar.js7.4 KB
dist/compose/resolve-flow-scalar.js7.4 KB
browser/dist/compose/resolve-flow-scalar.js7.4 KB
dist/doc/Document.d.ts6.5 KB
README.md6.3 KB
dist/doc/directives.js6.2 KB
browser/dist/doc/directives.js6.2 KB
dist/stringify/stringifyCollection.js5.7 KB
dist/compose/resolve-props.js5.6 KB
browser/dist/compose/resolve-props.js5.6 KB
browser/dist/stringify/stringifyCollection.js5.6 KB

Questions

How many files are in yaml?

Version 2.9.1 of yaml publishes 233 files of source, 686 KB in all, not counting images, fonts and source maps.

Does yaml use eval?

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

Does yaml start other programs?

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

Does yaml run an install script?

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