Beautiful and minimal terminal animations for your CLI projects, scripts, and creative coding. Bring your text to life with expressive effects.
- ⌨️ Typewriter effect (
typeOut) - ⏪ Reverse typewriter effect (
reverseType) - 🌊 Wavy text animation (
wave) - 🌈 Color pulsing effect (
colorPulse) - 🔁 Spinner animation (
spinner) - 📊 Progress bar animation (
progressBar) - 🤯 Glitch text effect (
glitch) - 🧩 Scramble decoder effect (
scramble) - 🌈 Rainbow text animation (
rainbow) - 🎞 Frame-based ASCII animation player (
playFrames) 🅰️ ASCII art text rendering (asciiArt)- ⚡ Flashing text effect (
flash) - ✂️ Type-delete effect (
typeDelete) - ⏳ Dots loading animation (
dots)
npm install flossumOr for CLI usage:
npm install -g flossumimport flossum from 'flossum';
await flossum.typeOut("🚀 Welcome to Flossum!", 60);
await flossum.wave("✨ Watch the magic unfold...", { duration: 1800 });
await flossum.progressBar({ width: 20, duration: 1500 });
await flossum.colorPulse("🌈 Feel the rainbow energy!");
await flossum.playFrames([
'[ ]', '[= ]', '[== ]', '[=== ]', '[==== ]', '[=====]', '[ ====]', '[ ===]', '[ ==]', '[ =]', '[ ]',
], { interval: 3000, delay: 90, repeat: 3});
await flossum.dots("Loading", {
cycles: 5,
interval: 300,
char: ".",
maxDots: 3
});flossum typeOut "Hello World"
flossum reverseType "Backwards magic"
flossum wave "Wavy Text"
flossum colorPulse "Pulse!"
flossum glitch "Glitch!"
flossum scramble "Secret..."
flossum rainbow "🌈"
flossum spinner "Please wait..."
flossum progressBar
flossum flash "⚡ Flashing now!"
flossum typeDelete "Deleting now..."
flossum dots "Loading"flossum --helpLists all available animations and usage instructions.
node examples/demo.jsor
npm run demoThis will run a showcase of all available animations. Perfect for testing purposes!
flossum/
├── lib/
│ ├── core/ # Utilities and frame player
│ ├── simple/ # Basic animations
│ └── effects/ # Text effects (wave, glitch, etc.)
├── examples/ # Example usage scripts
├── bin/ # CLI entrypoint
├── index.js # Export API
├── package.json
└── README.md
- Fork the repo
- Create a new branch:
git checkout -b feature/new-animation - Add your effect in the correct folder (simple/effects/core)
- Test it in
examples/ - Open a PR ❤️
MIT © Pushkar Singh
See LICENSE for details.
- GitHub: github.com/pushkarsingh/flossum
- NPM: npmjs.com/package/flossum
- Website: flossum.vercel.app