Socket
Book a DemoInstallSign in
Socket

my-typewriter

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

my-typewriter

Lightweight Typing Effect Library.

1.0.6
latest
Source
npmnpm
Version published
Weekly downloads
1
-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

promo-mytypewriter

A Zero Dependency Super Lightweight Typewriter Effect JavaScript Library.

bundle size license npm release zero dependency

Features

  • Super Lightweight (Less than 1KB) 🔥
  • Easy Configuration ⚙
  • Easy Customization ⛏
  • Zero Dependencies! 🤯

CDN

We recommend you to use my-typewriter CDN for quick and easy setup.

<script src="https://cdn.jsdelivr.net/npm/my-typewriter/public/myTypewriter.min.js"></script>

Installation

You can install my-typewriter using NPM command

npm install my-typewriter

Usage/Example

Give a my-typewriter ID to an element.

<h1>
    <span id="my-typewriter"></span>
</h1>

Import and use as shown below. Also, refer to options for customizations.

import { typeWriter } from "my-typewriter";

typeWriter({
    texts: ["example 1", "example 2", "example 3"],
})

Options

NameDefaultDescription
texts[ ]Array of texts to add for typewriter effect.
letterPause1200Pause in milliseconds at end letter.
typeSpeed0Typing speed in milliseconds.
eraseSpeed100Erasing speed in milliseconds.
blinkSpeed300Cursor blink speed in milliseconds.
speed200Default typing and erasing speed, If both are set to 0.

License

license

Keywords

my-typewriter

FAQs

Package last updated on 13 Aug 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.