Oxphobia
JSON →Oxphobia is a fast JavaScript bundle size calculator that uses the Rust-based Oxc parser and minifier to measure minified and gzipped sizes of npm packages or local projects. It leverages jsDelivr to fetch npm sources recursively and performs simple tree-shaking based on process.env.NODE_ENV. Unlike similar tools (e.g., bundlephobia), it uses Oxc for faster parsing and minification, supports both remote packages and local projects, and runs as a CLI via npx. Current version 0.0.2 is early-stage, works only with Node.js >= 18.12.0, and ignores non-JS assets and complex bundler configurations.
Resources
packageoxphobia ↗