
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
ng-textarea-autosize
Advanced tools
Angular 5+ directive to resize a textarea field dynamically based on the content of the field instantaneously
Do you hate gross HTML scroll bars on your textfield? Are you super lazy and want to install a package to never have to see those gross bars again? Welcome friend you need ng-textarea-autosize !
A directive to automatically resize a textarea field based on its contents - death to scroll bars!
npm install ng-textarea-autosize
Add the declaration to your @NgModule:
import {Autosize} from 'ng-textarea-autosize';
...
@NgModule({
declarations: [
Autosize
]
})
Once you've done that all you need to do is add the Autoresize directive to your textarea input thusly
<textarea [autosize]>Begone awful scrollbars!</textarea>
FAQs
Angular 5+ directive to resize a textarea field dynamically based on the content of the field instantaneously
We found that ng-textarea-autosize demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.