# jackmoore/autosize

Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.

Repository: https://github.com/jackmoore/autosize
Canonical: https://ross.abutalabs.com/products/autosize
Homepage: http://www.jacklmoore.com/autosize/
Language: JavaScript
License: MIT
License Family: permissive
Archived: true
Last push: 2023-02-15T07:30:24+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5414, "days_push": 1295, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5086, forks 689 (observed 2026-08-28T04:09:09.591179+00:00)

## What it is
Autosize is a small, stand-alone JavaScript library that automatically adjusts the height of textarea elements to fit their text content. It works with single elements, NodeLists, or jQuery collections and provides update/destroy methods and lifecycle events.

## Use cases
- make textareas grow automatically as the user types
- auto-resize comment or message input boxes
- fit textarea height to content after setting value programmatically
- avoid scrollbars in multi-line form fields
- recalculate textarea height after layout changes

## When to choose
- you need a tiny dependency-free script for auto-growing textareas
- you want broad browser support including older IE
- you use jQuery or plain DOM and need simple integration

## When to avoid
- you need a full form or UI framework with richer input components
- you need contenteditable-based auto-growing inputs rather than textareas
- you require active development and frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, form-handling
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: textarea, auto-resize, javascript, form-ui, standalone-script

## Member repositories
- jackmoore/autosize (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:09.591179+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:02:33.481476+00:00, confidence not recorded.
  - readme: https://github.com/jackmoore/autosize (fetched 2026-08-28T04:09:09.591179+00:00, sha b2c817b17674)
  - homepage: http://www.jacklmoore.com/autosize/ (fetched 2026-08-29T08:57:36.384065+00:00, sha de94bb724885)
  - registry_npm: https://registry.npmjs.org/autosize (fetched 2026-08-29T08:57:36.395830+00:00, sha 8d216e78ea52)
  - site_page: http://www.jacklmoore.com/colorbox/faq (fetched 2026-08-29T08:57:36.393355+00:00, sha d15df02d5a54)
- Data as of 2026-08-30T08:39:29.467469+00:00.
