# typeeffect

> Typewriter simulation

Latest version **0.0.1** (published 2016-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install typeeffect
pnpm add typeeffect
yarn add typeeffect
bun add typeeffect
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-03-17 |
| First published | 2016-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Joe Gesualdo |
| Maintainers | joegesualdo |

## Links

- npm: https://www.npmjs.com/package/typeeffect
- npm.io page: https://npm.io/package/typeeffect

## Dependencies (1)

- [bluebird](https://npm.io/package/bluebird.md) ^3.3.4

## Recent versions

- 0.0.1 (latest) — 2016-03-17

## README

## Type Effect 
> Typewriting simulation utility

## Install
```
$ npm install --save typeeffect
```

## Usage
```javascript
var TypeEffect = require("typeeffect");

console.log("")

var typeEffect = new TypeEffect({speed: 200})

typeEffect.on('delete', function(char, str) {
  console.log('\x1b[1A'+str+"|"+'\x1b[0K')
})
.on('type', function(char, str) {
  console.log('\x1b[1A\x1b[0K'+str+"|")
})
.on('done', function(str) {
  console.log("DONE")
})

typeEffect.type("Hello")
.del(5)
.type("Hi John")
.changeSpeed(100)
.del(4)
.type("Joe! My weekend was terrible")
.wait(2000)
.del(8)
.type("amazing!")
.run()
```

---
_Source: https://npm.io/package/typeeffect · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
