Home / npm packages / sass

sass source code

Every file of sass@1.105.1 as published on npm: 36 files, 278 KB. Search them by exact text or regex, in milliseconds.

It uses: the fs module.

What sass uses

APIIn sass
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
Yes: 3 files
e.g. sass.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
LICENSE86 KB
types/legacy/function.d.ts23 KB
types/legacy/options.d.ts22 KB
types/importer.d.ts19 KB
types/value/color.d.ts18 KB
types/options.d.ts16 KB
types/value/number.d.ts12 KB
types/compile.d.ts11 KB
types/deprecations.d.ts8.5 KB
README.md7.4 KB
types/value/index.d.ts7.1 KB
types/legacy/importer.d.ts6.4 KB
sass.node.mjs5.6 KB
types/legacy/render.d.ts4.4 KB
types/value/calculation.d.ts4.0 KB
types/value/string.d.ts3.2 KB
types/logger/index.d.ts3.0 KB
types/index.d.ts2.8 KB
sass.default.js2.5 KB
types/legacy/plugin_this.d.ts2.1 KB
types/legacy/exception.d.ts1.9 KB
types/value/argument_list.d.ts1.6 KB
types/value/list.d.ts1.5 KB
types/exception.d.ts1.1 KB
types/value/map.d.ts1.1 KB
types/value/function.d.ts863 B
package.json856 B
types/logger/source_span.d.ts837 B
types/util/promise_or.d.ts660 B
sass.js657 B

Questions

How many files are in sass?

Version 1.105.1 of sass publishes 36 files of source, 278 KB in all, not counting images, fonts and source maps.

Does sass use eval?

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

Does sass start other programs?

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

Does sass run an install script?

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