Auto-Plugin/autofit.js
autofit.js 迄今为止最易用的自适应工具 observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 62
- Release rhythm 35
- Longevity 87
Flags: no_releases
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: 1231
- days_rel: n/a
- days_push: 231
- n_releases_24m: 0
Adoption not part of the score
2011 stars · 180 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
autofit.js is a lightweight TypeScript library for adaptive screen scaling in web frontends, letting dashboards and large-screen visualizations fit any resolution with a single line of code. It has no dependencies, weighs only ~2.7KB gzipped, and works with Vue and React.
Use cases
- make a data visualization dashboard fit any screen resolution
- adapt a large-screen monitoring page to different display sizes
- auto-scale a Vue or React app designed for a fixed resolution
- responsive scaling for echarts big-screen dashboards
- fit web pages below a target resolution without media queries
When to choose
- you need one-line, dependency-free screen adaptation for fixed-design dashboards
- you're building large-screen visualization pages in Vue or React
- you want minimal performance overhead by scaling a single element
When to avoid
- you need fully fluid responsive layouts with reflow rather than uniform scaling
- your project requires accessibility-critical text that must not be visually scaled
- you're not building a fixed-resolution design that needs proportional fitting
Facets
library · maturity active
ui-components frontend-framework frontend web-development data-visualization browser responsive-design screen-adaptation dashboard large-screen vue react auto-scaling typescript nodejs javascript
3 sources
- readme: https://github.com/Auto-Plugin/autofit.js · fetched 2026-08-28 · 8b641a2bf3fd
- homepage: https://auto-plugin.github.io/autofit.js/ · fetched 2026-08-29 · 674cc753eb24
- registry_npm: https://registry.npmjs.org/autofit.js · fetched 2026-08-29 · 852a962da026
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Auto-Plugin/autofit.js | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="Auto-Plugin/autofit.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem