stevenlei/spacingjs
A JavaScript utility for measuring the spacing between elements on webpage. observed · 2026-08-28
Health v2 · maintenance only
35/100
- Activity 27
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1758
- days_rel: 621
- days_push: 441
- n_releases_24m: 1
Adoption not part of the score
1124 stars · 71 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
SpacingJS is a lightweight JavaScript utility for measuring the spacing between elements on a webpage during development. It is available via CDN or npm, and also ships as a Chrome extension with keyboard shortcuts and visual status indicators.
Use cases
- measure spacing between webpage elements
- check pixel-perfect distances during frontend development
- verify margins and gaps between UI components
- take screenshots with visible measurements
- inspect element dimensions and font sizes on a page
When to choose
- you need quick visual spacing measurements while building or reviewing web UIs
- you want a zero-config tool that works via a CDN script tag
- you prefer a Chrome extension with hotkeys for measuring on any site
When to avoid
- you need automated layout testing or CI-based visual regression checks
- you need full design inspection tools like element styles or box model editing
- you work outside the browser, e.g. native or mobile app layout measurement
Facets
library · maturity active
developer-tools ui-components web-development frontend developer-tools web-design browser browser-extension spacing-measurement design-tool pixel-perfect chrome-extension typescript web-server
2 sources
- readme: https://github.com/stevenlei/spacingjs · fetched 2026-08-28 · 7762ea5d074b
- registry_npm: https://registry.npmjs.org/spacingjs · fetched 2026-08-29 · 369ce91e21c9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| stevenlei/spacingjs | main | 35 |
For agents
markdown · JSON · MCP: product_card(name="stevenlei/spacingjs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem