Home / npm packages / css-loader

css-loader source code

Every file of css-loader@7.1.5 as published on npm: 15 files, 143 KB. Search them by exact text or regex, in milliseconds.

It uses: process.env, the fs module.

What css-loader uses

APIIn css-loader
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: 1 file
e.g. README.md
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
README.md56 KB
dist/utils.js39 KB
dist/plugins/postcss-url-parser.js12 KB
dist/plugins/postcss-import-parser.js9.3 KB
dist/options.json7.7 KB
dist/index.js6.8 KB
dist/plugins/postcss-icss-parser.js3.7 KB
package.json3.4 KB
dist/runtime/api.js2.3 KB
LICENSE1.1 KB
dist/plugins/index.js823 B
dist/runtime/getUrl.js597 B
dist/runtime/sourceMaps.js505 B
dist/cjs.js161 B
dist/runtime/noSourceMaps.js64 B

Questions

How many files are in css-loader?

Version 7.1.5 of css-loader publishes 15 files of source, 143 KB in all, not counting images, fonts and source maps.

Does css-loader use eval?

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

Does css-loader start other programs?

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

Does css-loader run an install script?

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