← All tools

npm Package Weight

Search 28 locally measured browser package exports with minified and gzip sizes, versions and a reproducible method.

package-weightLOCAL WORKSPACE

Enabling local controls…

Measured 2026-10-21 · esbuild 0.28.2 · Node v26.8.1

Browser ESM / ES2022, minified namespace import retaining all exports, gzip level 9, JavaScript output only. Dependencies included; CSS, assets and source maps excluded. Not actual application import size.

28 measured packages
Package / versionCategoryMin bytesGzip bytesFunctional alternatives / limits
react
19.3.1
UI8,8013,433Native DOM for small, simple interactions; no component/state system.
react-dom
19.3.1
UI12,9704,551Native DOM for small islands; different rendering model.
bcryptjs
3.0.3
Cryptography20,8609,376No equivalent replacement claimed; use only the required exports and verify the production build.
bowser
2.14.1
Web37,3147,975Feature detection for individual APIs; not browser identification.
dompurify
3.4.17
Web31,27712,121No equivalent replacement claimed; use only the required exports and verify the production build.
fast-xml-parser
5.11.2
Parsing77,73524,872No equivalent replacement claimed; use only the required exports and verify the production build.
figlet
1.12.0
Text17,0666,599No equivalent replacement claimed; use only the required exports and verify the production build.
hash-wasm
4.12.0
Cryptography216,34578,884No equivalent replacement claimed; use only the required exports and verify the production build.
ibantools
4.5.4
Data21,7214,848No equivalent replacement claimed; use only the required exports and verify the production build.
intl-messageformat
12.1.3
Text34,03610,090Intl.NumberFormat / DateTimeFormat for formatting only, not ICU messages.
jsonpath-rfc9535
1.3.0
Parsing31,8418,946No equivalent replacement claimed; use only the required exports and verify the production build.
jsonschema
1.5.0
Parsing29,2748,088No equivalent replacement claimed; use only the required exports and verify the production build.
libphonenumber-js
1.13.15
Data194,25745,297A narrower metadata entry point if your required countries/types allow it.
marked
18.1.1
Text46,84214,088Plain text if Markdown is unnecessary; rendering semantics differ.
parse5
8.0.1
Parsing154,30943,134No equivalent replacement claimed; use only the required exports and verify the production build.
pdf-lib
1.17.1
Media440,371181,611No equivalent replacement claimed; use only the required exports and verify the production build.
postal-mime
4.0.8
Parsing84,79027,133No equivalent replacement claimed; use only the required exports and verify the production build.
qrcode
1.5.4
Media24,8179,663No equivalent replacement claimed; use only the required exports and verify the production build.
smol-toml
1.9.1
Parsing16,8556,703No equivalent replacement claimed; use only the required exports and verify the production build.
specificity
1.0.0
Parsing171,79049,876No equivalent replacement claimed; use only the required exports and verify the production build.
sql-formatter
15.9.0
Parsing294,10376,285No equivalent replacement claimed; use only the required exports and verify the production build.
string-width
8.3.0
Text6,1172,842String length counts UTF-16 units, not terminal cell width.
yaml
2.9.1
Parsing103,90532,115No equivalent replacement claimed; use only the required exports and verify the production build.
@scure/bip39
2.4.0
Cryptography18,2107,763No equivalent replacement claimed; use only the required exports and verify the production build.
@jridgewell/trace-mapping
0.3.31
Parsing11,3284,814No equivalent replacement claimed; use only the required exports and verify the production build.
@formatjs/icu-messageformat-parser
3.5.21
Text28,5598,420No equivalent replacement claimed; use only the required exports and verify the production build.
@eslint-community/regexpp
4.12.2
Parsing58,50314,945No equivalent replacement claimed; use only the required exports and verify the production build.
css-tree
3.2.1
Parsing202,66656,990No equivalent replacement claimed; use only the required exports and verify the production build.
Reproduce this snapshot

In this repository with its locked dependencies, run:

pnpm exec tsx src/lib/flavio-ops-measure.ts

The script measures each package separately without executing its exports. Compare versions before comparing sizes.

How to use this tool

Filter the snapshot and inspect versions. Measure your actual application imports before choosing a dependency.

When not to use it

Namespace all-exports snapshots are not real application bundles. Functional alternatives are suggestions, not equivalent drop-in replacements.