UNPKG
typed.js
Version:
latest (2.1.0)
2.1.0
2.0.132
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.1-3.1
2.0.0
1.1.7
1.1.1
A JavaScript Typing Animation Library
github.com/mattboldt/typed.js
mattboldt/typed.js
typed.js
/
app.js
13 lines
(9 loc)
•
256 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
const
express =
require
(
'express'
)
const
app =
express
() app.
get
(
'/'
,
(
req, res
) =>
{ res.
sendFile
(
`
${__dirname}
/index.html`
) }) app.
listen
(
3000
,
() =>
{
console
.
log
(
'Example app listening on port 3000!'
) }) app.
use
(express.
static
(
`
${__dirname}
/`
))