Skip to content

dadanili/typewriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

typewriter

=========

This module turns your static text into dynamic transformations on the screen. Each letter appears sequentially followed by a pipe character as if the text is currently being typed by a typewriter!

Installation

npm install type-text --save

Usage

  • var typetext = require('type-text')
  • typetext('the string to display', 'the DOM node this string is the textContent of', [optional] 'speed in milliseconds')
  • The default speed is 100 milliseconds
  • eg. typetext('mystring is this', document.getElementById('app'), 200)

Release History

  • 0.1.0 Initial release
  • 0.1.1 updated README
  • 0.1.2 updated README
  • 0.1.3 updated README

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published