Home / npm packages / lightningcss

lightningcss source code

Every file of lightningcss@1.33.0 as published on npm: 14 files, 514 KB. Search them by exact text or regex, in milliseconds.

It uses: none of the APIs we check for.

What lightningcss uses

APIIn lightningcss
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
node/ast.js.flow218 KB
node/ast.d.ts214 KB
node/index.js.flow21 KB
node/index.d.ts19 KB
LICENSE16 KB
node/composeVisitors.js11 KB
README.md6.1 KB
package.json3.8 KB
node/index.js1.7 KB
node/browserslistToTargets.js929 B
node/targets.d.ts867 B
node/targets.js.flow819 B
node/flags.js666 B
node/index.mjs276 B

Questions

How many files are in lightningcss?

Version 1.33.0 of lightningcss publishes 14 files of source, 514 KB in all, not counting images, fonts and source maps.

Does lightningcss use eval?

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

Does lightningcss start other programs?

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

Does lightningcss run an install script?

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