# auto-textarea-element

> Literally just a textarea web-component that resizes itself

Latest version **0.0.2** (published 2020-06-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install auto-textarea-element
pnpm add auto-textarea-element
yarn add auto-textarea-element
bun add auto-textarea-element
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-06-08 |
| First published | 2020-06-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | foodforarabbit |
| Keywords | web-component, textarea, auto, resize |

## Links

- npm: https://www.npmjs.com/package/auto-textarea-element
- Repository: https://github.com/foodforarabbit/auto-textarea-element
- Homepage: https://github.com/foodforarabbit/auto-textarea-element#readme
- Issues: https://github.com/foodforarabbit/auto-textarea-element/issues
- npm.io page: https://npm.io/package/auto-textarea-element

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2020-06-08
- 0.0.1 — 2020-06-08

## README

# &lt;auto-textarea&gt; element

A web-component textarea that only resizes itself

## Installation

```
$ npm install --save auto-textarea-element
```

## Usage

### Script

Import as ES modules:

```js
import 'auto-textarea-element'
```

Include with a script tag:

```html
<script type="module" src="./node_modules/auto-textarea-element/dist/index.js">
```

### Markup

```html
<auto-textarea id="id" class="class" name="name" maxlength="50">prefilled text</auto-textarea>
```

## Browser support

Browsers without native [custom element support][support] require a [polyfill][].

- Chrome
- Firefox
- Safari
- Microsoft Edge

## Development

```
npm install
npm test
```

## License

Distributed under the MIT license. See LICENSE for details.

[support]: https://caniuse.com/#feat=custom-elementsv1
[polyfill]: https://github.com/webcomponents/custom-elements

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