Home / npm packages / postcss-selector-parser

postcss-selector-parser source code

Every file of postcss-selector-parser@7.1.6 as published on npm: 37 files, 215 KB. Search them by exact text or regex, in milliseconds.

It uses: the fs module.

What postcss-selector-parser uses

APIIn postcss-selector-parser
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: 1 file
e.g. package.json
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/parser.js49 KB
postcss-selector-parser.d.ts22 KB
CHANGELOG.md21 KB
API.md21 KB
dist/selectors/attribute.js19 KB
dist/selectors/container.js16 KB
dist/tokenize.js9.8 KB
dist/selectors/node.js7.5 KB
dist/processor.js6.1 KB
dist/selectors/namespace.js3.4 KB
README.md3.1 KB
dist/util/unesc.js2.6 KB
dist/selectors/guards.js2.5 KB
dist/selectors/className.js2.3 KB
dist/selectors/constructors.js2.3 KB
dist/selectors/root.js2.1 KB
dist/tokenTypes.js2.1 KB
package.json2.0 KB
dist/selectors/pseudo.js2.0 KB
dist/index.js1.8 KB
dist/selectors/id.js1.5 KB
dist/util/index.js1.5 KB
dist/selectors/universal.js1.4 KB
dist/selectors/nesting.js1.4 KB
dist/selectors/selector.js1.4 KB
dist/selectors/combinator.js1.4 KB
dist/selectors/comment.js1.4 KB
dist/selectors/string.js1.4 KB
dist/selectors/tag.js1.4 KB
dist/util/maxNestingDepth.js1.1 KB

Questions

How many files are in postcss-selector-parser?

Version 7.1.6 of postcss-selector-parser publishes 37 files of source, 215 KB in all, not counting images, fonts and source maps.

Does postcss-selector-parser use eval?

No: postcss-selector-parser doesn't call eval() anywhere in its published files.

Does postcss-selector-parser start other programs?

No: postcss-selector-parser doesn't use child_process anywhere in its published files.

Does postcss-selector-parser run an install script?

No: postcss-selector-parser 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