Home / npm packages / size-limit
Every file of size-limit@14.1.0 as published on npm: 19 files, 43 KB. Search them by exact text or regex, in milliseconds.
It uses: process.env, the fs module.
| API | In size-limit | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | No | Who does |
| child_process starts other programs | No | Who does |
| process.env reads environment variables | Yes: 1 file e.g. colors.js | See the lines |
| the fs module reads and writes files | Yes: 5 files e.g. create-help.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | No | Who does |
| fetch() makes HTTP requests | No | Who does |
| XMLHttpRequest makes HTTP requests the old browser way | No | Who does |
| crypto hashes, encrypts or makes random numbers | No | Who does |
| WebAssembly loads WebAssembly code | No | Who does |
| document.cookie reads or writes browser cookies | No | Who does |
| install scripts runs a script when it's installed | No | Who does |
Exact matches in the published files, so a mention in a comment counts too: open the lines to check.
| File | Size |
|---|---|
get-config.js | 8.2 KB |
create-reporter.js | 7.7 KB |
index.d.ts | 4.2 KB |
create-help.js | 3.8 KB |
parse-args.js | 3.2 KB |
size-limit-error.js | 2.9 KB |
run.js | 2.7 KB |
calc.js | 2.0 KB |
README.md | 1.7 KB |
LICENSE | 1.1 KB |
index.js | 883 B |
load-plugins.js | 817 B |
read-pkg-up.js | 815 B |
bytes.js | 699 B |
process-import.js | 658 B |
package.json | 606 B |
colors.js | 338 B |
debug.js | 303 B |
bin.js | 62 B |
Version 14.1.0 of size-limit publishes 19 files of source, 43 KB in all, not counting images, fonts and source maps.
No: size-limit doesn't call eval() anywhere in its published files.
No: size-limit doesn't use child_process anywhere in its published files.
No: size-limit has no preinstall, install or postinstall script in its package.json.
The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.