
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@frsource/autoresize-textarea
Advanced tools
Getting Started
·
Demo
·
File an Issue
·
Have a question or an idea?
Tiny library which make your textareas fluid.
Mobile & desktop-friendly
Performant & with small bundle size (less than 1.2kB!)
Published as separate bundles for JS ES5 or modern browsers thanks to microbundle
Written completely in typescript
Published under MIT license
npm install @frsource/autoresize-textarea
yarn add @frsource/autoresize-textarea
pnpm add @frsource/autoresize-textarea
import { attach } from '@frsource/autoresize-textarea';
const textarea = document.querySelector('textarea');
const { detach } = attach(textarea);
// detach plugin whenever you want (e.g. on component unmount)
// detach();
const textarea = document.querySelector('textarea');
const { detach } = window.autoresizeTextarea.attach(textarea);
// detach plugin whenever you want (e.g. on component unmount)
// detach();
For working example, check out our demo.
Don’t hesitate to ask a question directly on the discussions board!
Changes for every release are documented in the release notes and CHANGELOG file.
Copyright (c) 2022-present, Jakub FRS Freisler, FRSOURCE
FAQs
Minimalistic plugin to autosize your textareas! 💪
The npm package @frsource/autoresize-textarea receives a total of 4,709 weekly downloads. As such, @frsource/autoresize-textarea popularity was classified as popular.
We found that @frsource/autoresize-textarea demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.