typing-node
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

typing-node

npm install size

Attach typing effect to any Node! (Based on Node.textContent)

import { withNode } from "typing-node";

const stop = withNode(document.querySelector("#target"))
    .wait(500)
    .text("Hello...")
    .wait(1000)
    .text("Hello, world!")
    .wait(500)
    .text("你好,世界!")
    .start(Infinity);

Readme

Keywords

Package Sidebar

Install

npm i typing-node

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

9.61 kB

Total Files

8

Last publish

Collaborators

  • yieldray