nolanlawson/optimize-js
Optimize a JS file for faster parsing (UNMAINTAINED) observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3637
- days_rel: n/a
- days_push: 1902
- n_releases_24m: 0
Adoption not part of the score
3729 stars · 100 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A JavaScript optimization tool that wraps immediately-invoked and likely-to-be-invoked functions in parentheses to speed up initial parsing and execution in modern JS engines. It is available as both a CLI and a Node.js API, but is now explicitly unmaintained and discouraged by the V8 team.
Use cases
- speed up initial parse time of a JavaScript bundle
- wrap eager IIFEs in parentheses for faster V8 execution
- optimize a minified JS file before deploying to production
- benchmark parse performance of common JS libraries across browsers
- process a JS file from stdin and write optimized output to stdout
When to choose
- targeting legacy browsers like Chrome 55 or Edge 14 where pre-parse heuristics caused slowdowns
- experimenting with historical JS engine parsing behavior
- maintaining a very old build pipeline that already depends on it
When to avoid
- modern web development - V8's preparser changes make it unnecessary or harmful
- you need a maintained tool with ongoing browser benchmark updates
- Safari is a primary target, where it showed a slight regression
- you cannot heavily benchmark your own site to verify benefit
Facets
cli-tool · maturity abandoned
build-tool developer-tools web-development performance developer-tools cli cross-platform javascript-parsing v8-optimization unmaintained performance-optimization nodejs
3 sources
- readme: https://github.com/nolanlawson/optimize-js · fetched 2026-08-28 · 6c383252f703
- homepage: https://nolanlawson.github.io/optimize-js · fetched 2026-08-29 · 0b4e603ab48f
- registry_npm: https://registry.npmjs.org/optimize-js · fetched 2026-08-29 · 7526f7adf548
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nolanlawson/optimize-js | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="nolanlawson/optimize-js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem