
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
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 1 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.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.