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.
write-on-node
Advanced tools
[https://write-on-js.netlify.app]
Write On Effect JavaScript
There are a couple of ways of installing the package depending on what framework or library you're using.
npm i write-on-node
Coming soon
git clone https://github.com/jerryHolurantie/write-on-js.git
There are two js files in this repo. write-on.js
and write-on-node.js
for vanilla javascript and react projects respectively.
<script src="./path/to/write-on-node.js"></script>
<!-- Or using cdn -->
<script src="cdn-link"></script>
writeOn(element, text = null, list = null, loopTimes = null, delayTime = 0.1, waitTime = 1)
<script src="./write-on.js"></script>
<script>
let writeOnElement = document.querySelector(".write-on-text")
const text = "This Is Write On Effect With Javascript"
writeOn(writeOnElement, text);
</script>
import writeOn from 'write-on-node'
useEffect(() => {
writeOn({setstate, text, list, loopTimes, delayTime = 0.5, waitTime = 1})
}, [])
writeOn(element, text = null, loopTimes = null, delayTime = 0.1, waitTime = 1)
Your HTML DOM Element.
Type: String | Array
The text to be displayed.
useEffect(() => {
writeOn({setstate, text, list, loopTimes, delayTime = 0.5, waitTime = 1})
}, [])
Your setState
function in react. Visit Learn react state hook
Type: String
The text to be displayed.
Type: Array
Array of strings
You can either pass in a text or an array of texts. Pass in
null
if you are not giving any arguement
Type: Integer
Number of times to repeat the write on.
null
(default) = infinite
Time delay between each characters in seconds
.
default =
0.1s
Time to wait before erasing a text in seconds
.
default =
1s
Hooray!!!
You are ready to rock :)
FAQs
Write on text effect for websites
The npm package write-on-node receives a total of 0 weekly downloads. As such, write-on-node popularity was classified as not popular.
We found that write-on-node 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.