1.2.3 • Published 2 months ago

typeglide v1.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Typeglide

Typing SVG

Installation

Quick Start

Speeds and Delays

Loops

Contributions

Extra features


📦 Installation

install with npm:

npm install typeglide

🚀 Quick start

Jump into action

const typeglide = require("typeglide");

var myArray = [
  "Good morning",
  "How are you today?",
  "Would you like a cup of coffee?",
];

typeglide({
  strings: myArray,
});

Speeds and Delays ⏱⚡

Customize typing and backspacing speed including delays

const typeglide = require("typeglide");

typeglide({
  // Strings to be typed
  strings: myArray,
  // Typing speed
  typeSpeed: 70,
  // Backspacing speed
  backSpeed: 50,
  // start Delay
  startDelay: 10,
  // Backspacing delay
  backDelay: 100,
});

Loops 🔁

Make loops...

const typeglide = require("typeglide");

typeglide({
  strings: myArray,
  // Activating loop
  loop: true,
  // Number of times you want to loop
  loopCount: 3,
});

Extra features:

NameRequiredDefaultDescription
backspace(bool)notrueDisable backspace to type each string on a new line
backspaceLastString(bool)notrueWhether to backspace last string on the array
shuffle(bool)nofalseShuffle the strings on the array
singleLine(bool)nofalseTypes strings on a single line
seperator(string)when singleLine is activatedempty stringSeperate strings on single line

Contributions 🤝🏻

Have any features you wish to add?... Make a pull request to the repository on github. Feel free to create issues or provide feedbacks!.

Author:

Sydney205

License 📄

Copyright (c) 2024 Dieke Sydney

1.2.3

2 months ago

1.1.3

3 months ago

1.0.0

4 months ago

0.0.9

5 months ago

0.0.7

5 months ago

0.0.5

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago