# textarea

> DOM enhancements for the textarea element, including tabs and auto-expansion

Latest version **0.3.0** (published 2016-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install textarea
pnpm add textarea
yarn add textarea
bun add textarea
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2016-02-22 |
| First published | 2015-06-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Christopher Brown |
| Maintainers | chbrown |
| Keywords | browser, dom, textarea, autofit |

## Links

- npm: https://www.npmjs.com/package/textarea
- Repository: https://github.com/chbrown/textarea
- Issues: https://github.com/chbrown/textarea/issues
- npm.io page: https://npm.io/package/textarea

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2016-02-22
- 0.2.1 — 2016-02-12
- 0.2.0 — 2015-06-24
- 0.1.1 — 2015-06-24

## README

## textarea

[![npm version](https://badge.fury.io/js/textarea.svg)](https://www.npmjs.com/package/textarea)

One textarea plugin to rule them all.

Ace editor and CodeMirror are over the top. I just want tabs and block indentation.

And auto-expansion to fix the contents (height-wise).

Your `<textarea>` should specify `min-height` and `max-height`, but not `height`.


## Alternatives

* [react-textarea-autosize](https://github.com/andreypopp/react-textarea-autosize.git), [demo](http://andreypopp.github.io/react-textarea-autosize/): apparently only handles newlines, so if your lines wrap, the height will be wrong.
* [react-textarea](https://github.com/zippyui/react-textarea): derived from react-textarea-autosize
* [autosize](http://www.jacklmoore.com/autosize/): Looks nice, actually, but used to be jQuery?
* [react-autosize-textarea](https://github.com/buildo/react-autosize-textarea): This one seems to work.
* [angular2-autosize](https://github.com/stevepapa/angular2-autosize): super simple (3 lines of logic!), but works nicely at first glance.


## License

Copyright 2013-2016 Christopher Brown. [MIT Licensed](http://chbrown.github.io/licenses/MIT/#2013-2016).

---
_Source: https://npm.io/package/textarea · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
