Home / npm packages / caniuse-lite

caniuse-lite source code

Every file of caniuse-lite@1.0.30001814 as published on npm: 841 files, 1.5 MB. Search them by exact text or regex, in milliseconds.

It uses: XMLHttpRequest.

What caniuse-lite uses

APIIn caniuse-lite
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
NoWho does
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
Yes: 1 file
e.g. data/features/xhr2.js
See the lines
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
data/features.js31 KB
data/agents.js26 KB
LICENSE19 KB
data/versionGroups.js17 KB
data/regions/US.js5.8 KB
data/regions/NL.js5.8 KB
data/regions/DE.js5.7 KB
data/regions/CU.js5.6 KB
data/regions/CN.js5.6 KB
data/regions/FR.js5.5 KB
data/regions/JP.js5.5 KB
data/regions/LT.js5.5 KB
data/regions/RU.js5.5 KB
data/regions/PL.js5.4 KB
data/regions/alt-na.js5.4 KB
data/regions/CA.js5.4 KB
data/regions/HK.js5.4 KB
data/regions/GH.js5.4 KB
data/regions/CH.js5.4 KB
data/regions/RW.js5.3 KB
data/regions/IT.js5.3 KB
data/regions/CM.js5.3 KB
data/regions/AF.js5.3 KB
data/regions/AU.js5.3 KB
data/regions/RO.js5.3 KB
data/regions/FI.js5.3 KB
data/regions/MG.js5.2 KB
data/regions/IR.js5.2 KB
data/regions/TZ.js5.2 KB
data/regions/GB.js5.2 KB

Questions

How many files are in caniuse-lite?

Version 1.0.30001814 of caniuse-lite publishes 841 files of source, 1.5 MB in all, not counting images, fonts and source maps.

Does caniuse-lite use eval?

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

Does caniuse-lite start other programs?

No: caniuse-lite doesn't use child_process anywhere in its published files.

Does caniuse-lite run an install script?

No: caniuse-lite 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