@allindevelopers/html-redirections
v1.1.2
Published
Generate HTML redirections from json file
Downloads
15
Maintainers
Readme
html-redirections
Generate HTML redirections files from a JSON with redirects. See blog post
npx html-redirections example-array.json dist
A single redirect in JSON file has this type:
type Redirect = {
from: string
to: string
delay?: number
meta?: [
{
name: string
content: string
}
]
}