Home / npm packages / @stencil/core

@stencil/core source code

Every file of @stencil/core@4.45.1 as published on npm: 325 files, 6.0 MB. Search them by exact text or regex, in milliseconds.

It uses: eval(), new Function(), child_process, process.env, the fs module, http / https, fetch(), XMLHttpRequest, crypto, document.cookie.

What @stencil/core uses

APIIn @stencil/core
eval()
runs a string as JavaScript
Yes: 1 file
e.g. compiler/lib.es5.d.ts
See the lines
new Function()
builds a function from a string, like eval (with or without new)
Yes: 4 files
e.g. screenshot/compare/build/app.js
See the lines
child_process
starts other programs
Yes: 5 files
e.g. dev-server/index.js
See the lines
process.env
reads environment variables
Yes: 16 files
e.g. cli/index.cjs
See the lines
the fs module
reads and writes files
Yes: 8 files
e.g. sys/node/glob.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 2 files
e.g. sys/node/node-fetch.js
See the lines
fetch()
makes HTTP requests
Yes: 17 files
e.g. cli/index.cjs
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
Yes: 2 files
e.g. internal/client/polyfills/core-js.js
See the lines
crypto
hashes, encrypts or makes random numbers
Yes: 3 files
e.g. sys/node/index.js
See the lines
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
Yes: 3 files
e.g. internal/hydrate/runner.d.ts
See the lines
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
internal/hydrate/runner.js603 KB
compiler/lib.webworker.d.ts471 KB
testing/index.js464 KB
dev-server/server-process.js458 KB
mock-doc/index.cjs409 KB
mock-doc/index.js407 KB
internal/hydrate/index.js255 KB
internal/testing/index.js254 KB
compiler/lib.es5.d.ts218 KB
cli/index.cjs205 KB
cli/index.js204 KB
sys/node/index.js194 KB
internal/client/index.js181 KB
internal/stencil-public-compiler.d.ts113 KB
internal/client/polyfills/core-js.js94 KB
screenshot/index.js92 KB
sys/node/glob.js90 KB
sys/node/node-fetch.js89 KB
internal/stencil-private.d.ts82 KB
screenshot/pixel-match.js77 KB
internal/stencil-public-runtime.d.ts73 KB
sys/node/prompts.js40 KB
compiler/lib.es2023.array.d.ts40 KB
compiler/lib.es2020.bigint.d.ts38 KB
dev-server/client/index.js38 KB
mock-doc/index.d.ts37 KB
dev-server/connector.html28 KB
compiler/lib.dom.iterable.d.ts26 KB
dev-server/xdg-open26 KB
compiler/lib.es2015.core.d.ts23 KB

Questions

How many files are in @stencil/core?

Version 4.45.1 of @stencil/core publishes 325 files of source, 6.0 MB in all, not counting images, fonts and source maps.

Does @stencil/core use eval?

Yes: @stencil/core calls eval() in 1 of its files.

Does @stencil/core start other programs?

Yes: @stencil/core uses child_process in 5 of its files.

Does @stencil/core run an install script?

No: @stencil/core 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