
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
@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 5,009 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.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.