Home / npm packages / css-tree

css-tree source code

Every file of css-tree@3.2.1 as published on npm: 278 files, 1.4 MB. Search them by exact text or regex, in milliseconds.

It uses: new Function().

What css-tree uses

APIIn css-tree
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 12 files
e.g. cjs/syntax/scope/default.cjs
See the lines
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/csstree.js203 KB
dist/csstree.esm.js203 KB
dist/data.cjs98 KB
dist/data.js98 KB
data/patch.json47 KB
cjs/tokenizer/index.cjs24 KB
cjs/lexer/generic.cjs21 KB
lib/lexer/generic.js21 KB
lib/tokenizer/index.js21 KB
cjs/lexer/match.cjs20 KB
lib/lexer/match.js20 KB
cjs/lexer/Lexer.cjs17 KB
lib/lexer/Lexer.js17 KB
cjs/lexer/match-graph.cjs15 KB
lib/lexer/match-graph.js15 KB
cjs/definition-syntax/parse.cjs15 KB
lib/definition-syntax/parse.js15 KB
cjs/parser/create.cjs13 KB
cjs/utils/List.cjs13 KB
lib/utils/List.js13 KB
lib/parser/create.js13 KB
cjs/tokenizer/TokenStream.cjs11 KB
lib/tokenizer/TokenStream.js11 KB
cjs/tokenizer/utils.cjs8.4 KB
README.md8.4 KB
cjs/syntax/node/AnPlusB.cjs8.1 KB
lib/syntax/node/AnPlusB.js7.8 KB
lib/tokenizer/utils.js7.8 KB
cjs/walker/create.cjs7.5 KB
lib/walker/create.js7.5 KB

Questions

How many files are in css-tree?

Version 3.2.1 of css-tree publishes 278 files of source, 1.4 MB in all, not counting images, fonts and source maps.

Does css-tree use eval?

No: css-tree doesn't call eval() anywhere in its published files.

Does css-tree start other programs?

No: css-tree doesn't use child_process anywhere in its published files.

Does css-tree run an install script?

No: css-tree 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