iowriteblast
v1.3.1
Published
Helper for Input, Output, and Text Animation
Maintainers
Readme
iowriteblast
A tiny helper library for input, output, and text animations — for both Node and the browser!
✨ Features
📝 Writing Animation
WriteAnimation(text, speed)has an optional speed, can be emptyWriteAnimationBrowser(element, text, speed)Creates a typing effect.speedandelementare optional — leave them null to use defaults.
Defaults: Speed = 110ms, Element = h2
📤 Output Helpers
StdIO.Print(text)StdIO.Print_ln(text)
Simple output with or without a newline.
🎧 Input Helper
StdIO.Read(question, callback)
Shows an optional question, then runs callback(answer) when the user types something.
📱💻🌐 Cross-platform
- Supports both CJS (CommonJS) and ESM (ECMAscript Modules / ES Modules)
- Supports older JS versions
✨️ What's New
- Added Async/Promise support. Now you can use
await!
🚀 Installation
- npm install iowriteblast
