Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
text-area-with-line-number
Advanced tools
import TextAreaWithLineNumber from 'text-area-with-line-number';
<TextAreaWithLineNumber />
Prop | Description | Default |
---|---|---|
onChange | function to be called on onChange event | |
value | in order to bind value for text-area | |
placeholder | placeholder fortext-area | input your text here |
lineNumberBackground | to set background of line-numbers div | #fff |
textAreaBackgroundColor | to set background of text-area div | #fff |
lineNumberTextColor | to set font color of line-number | #000 |
textAreaTextColor | to set font color of text-area | #000 |
border | border between line-numbers and text-area | 1px solid #ddd |
height | height of the whole component | 30vh |
textAreaFontSize | font size for text area | 1rem |
lineNumberFontSize | font size for line-numbers | 1rem |
scrollbarWidth | text-area height overflow scrollbar width | 6px |
scrollbarTrackColor | text-area height overflow scrollbar track color | transparent |
srollbarThumbColor | text-area height overflow scrollbar thumb color | #888 |
textAreaFontFamily | font family for text-area | |
lineNumberFontFamily | font family for line-numbers |
FAQs
textarea with line numbers
The npm package text-area-with-line-number receives a total of 235 weekly downloads. As such, text-area-with-line-number popularity was classified as not popular.
We found that text-area-with-line-number 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.